부분 중단share-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
질문함 약 3개월 전
선택한 답변
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/

9월 8일 오전 9:31
Cayce
Michael

Yes uploading through the Graph API works.

9월 8일 오전 9:49
1

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

9월 10일 오전 2:38
Elena
1

We are experiencing the same issue.

9월 10일 오전 3:43
Syd
3

having the same issue

9월 7일 오후 3:49
Michael
3

I am also having same issue.

9월 9일 오전 7:13
Babar Afzaal