How to resolve Facebook Instant Games uploading.zip file error

302 views Asked by At

I have uploaded my .zip file of my game to Facebook Instant Games when an error pop up. It says "Game must reference to one of our supported SDKs via CDN."

I already put the script tag in head and body

    <script src="https://connect.facebook.com/en_US/fbinstant.7.0.js"></script>

and my fbapp-config.json

{ "instant_games": { "platform_version": "RICH_GAMEPLAY", "orientation": "PORTRAIT", "navigation_menu_version": "NAV_BAR" } }

I also tried the CLI method in uploading the .zip file, but also gets the same error saying I must refer to their SDK via CDN.

Can anyone please guide me.

2

There are 2 answers

4
mcs314 On

Can you try this script tag instead?

<script src="https://connect.facebook.net/en_US/fbinstant.latest.js"></script>

This worked for me when I just tried uploading a .zip file now.

0
molnargabor On

Try to change the SDK URL to the following:

https://www.facebook.com/assets.php/en_US/fbinstant.latest.js

This works for me. I found it in a sample file, I have just downloaded from facebook.

I hope it helps!