Facebook Instant rate-limiting


#1

I got this error in my game, in the output panel of Chrome:

FBInstant_PlatformSetLeaderboardScoreAsync - error: Game called too many leaderboard APIs too quickly. Reduce the rate of requests in order to avoid being rate-limited.

I send two saves and one load after each game play, so not overly excessive. After a lot of googling I can’t find the actual limits. Does anyone know?

Also, when it fails there is no Lua error and the callback is never called.


#2

This is a bug. Please create a ticket. You should get some kind of notification on the Lua side that the call fails.

I have a plan to add another argument to the callback functions to also include an error code so that you can identify certain scenarios and deal with the appropriately.


#3

Added one here.