Fbinstant got nil

Hi guys, I am trying to use the extension provided here to build a HTLM5 for Instant Facebook

Here my game.project setup

Here my setup in code

When I tried to run the game in editor the result came out


At first I ignore it and keep bundle this build and upload to Instant Facebook to test out

The game loaded well but stuck at 100%

So I suspect that the game was unable to load fbinstant as the result above. Is there anyone have clue on this fbinstant nil here

After adding the dependency, did you select “Fetch libraries”?
You should see a folder in your project view to the left, named “fbinstant”.
If not, do that and try building again. (Or restart the editor, since we automatically do “Fetch libraries” when opening a project)

I just reopen the editor and seem it fetch libraries. But the error is still there

Updated:
I am able to play the game via instant facebook but the error is still there
Did I need to include this lib anywhere to able to use it @Mathias_Westerdahl or anyway that I can refresh whole project

Note that the fbinstant module only works/exists on the HTML5 target, so it you try to run it on OSX or Windows, you’ll need to check if it exists:

if fbinstant then
    ...
end
2 Likes