The “FBInstant inited undefined” is this check:
Which basically checks if FBInstant has been initialized before the Defold app has been loaded, ie initialized from HTML and Javascript, like this:
There is no requirement that you do this, and if you don’t then you need to make sure to initialize FBInstant from Lua instead. Like this:
fbinstant.initialize(function(self, success)
if not success then
print("ERROR! Unable to initialize FBInstant")
return
end
fbinstant.start_game(function(self, success)
if not success then
print("ERROR! Unable to start game")
return
end
... ready to play here!
end)
end)
There is no harm in doing both. If you’ve initialized from HTML and Javascript then the init call from Lua will succeed immediately.