Ngừng hoạt động một phầnshare-external
CORS Error uploading Facebook Instant Game to Manage hosted assets
5

Trying to upload an instant game version to Manage hosted assets screen, getting a CORS error on the upload. Unable to test new versions on facebook. Go to Facebook Developers Apps > User Cases > Launch a game on Facebook > Web hosting > Manage hosted assets and upload a zip file and click Upload to reproduce.

Cayce
Đã hỏi khoảng 3 tháng trước
Câu trả lời được chọn
1

I was able to get around this by using this command from the fb-instant npm package.

fb-instant upload {your-app-id} '{graph-token}' -f build.zip -C \"Deploy\"

You can get app-id in the url of developers dashboard, and graph-token can be generated via this curl command found here

https://developers.facebook.com/docs/facebook-login/guides/access-tokens/

8 tháng 9 lúc 09:31
Cayce
Michael

Yes uploading through the Graph API works.

8 tháng 9 lúc 09:49
1

The same problem. I can't upload a new version.

10 tháng 9 lúc 02:38
Elena
1

We are experiencing the same issue.

10 tháng 9 lúc 03:43
Syd
3

having the same issue

7 tháng 9 lúc 15:49
Michael
3

I am also having same issue.

9 tháng 9 lúc 07:13
Babar Afzaal