Porting to Facebook instant games

I’m struggling to get my game on Facebook Instant games.
Steps I’ve taken so far:

  1. Created the game starting from the mobile game template.
  2. Tested it as an HTML5 game on my website. Numbercruncher 1.0
  3. Set up de Facebook extension as a dependency
  4. Created a Facebook developer account
  5. created a test app on Facebook
  6. added fbapp-config.json
  7. uploaded the game to Facebook.
  8. tested the game as a test user.

I’m trying to get the game working as is in Facebook. Without any extra perks, like logins or multi-user, adds or whatever. Just get is working.
so far I’ve pieced together all the different manuals and the game almost loads in as a test game. The game starts, but it hangs on the load screen. (see the video below)

I could really use some help. At this point I’m just bouncing from one manual to the other.
Is this an index.html problem, is it the json file? Have I not use a mandatory api call in the scripts? How do I proceed from here?

1 Like

Make sure that you are calling fbinstant.initialize() and fbinstant.start_game() like in the example game:

4 Likes

Thanks! Will try that.