Panne partielleshare-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
Posée il y a environ 3 mois
Réponse sélectionnée
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 septembre, 09:31
Cayce
Michael

Yes uploading through the Graph API works.

8 septembre, 09:49
1

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

10 septembre, 02:38
Elena
1

We are experiencing the same issue.

10 septembre, 03:43
Syd
3

having the same issue

7 septembre, 15:49
Michael
3

I am also having same issue.

9 septembre, 07:13
Babar Afzaal