defold / extension-fbinstant

Facebook Instant Games extension for the Defold game engine
https://defold.com/extension-fbinstant/
MIT License
38 stars 20 forks source link

fbinstant.set_leaderboard_score fails silently #62

Closed totebo closed 5 years ago

totebo commented 5 years ago

Too many leaderboard requests can produce an error like this, causing the callback to never fire:

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

britzl commented 5 years ago

Hmm, are you still having a problem with this? You really should be getting a callback with values set to 0 or nil.

totebo commented 5 years ago

Haven't tested recently, maybe FB have changed/fixed something?

britzl commented 5 years ago

I did some changes right around the time that you created this issue and I believe the fix has solved your problem. If you are able to try to reproduce the problem again I'd be very grateful.

totebo commented 5 years ago

Will do when I get some time to spare! Although if you say it might be fixed, I have a hunch it IS fixed. :)

On Tue, 4 Jun 2019 at 07:58, Björn Ritzl notifications@github.com wrote:

I did some changes right around the time that you created this issue and I believe the fix has solved your problem. If you are able to try to reproduce the problem again I'd be very grateful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/defold/extension-fbinstant/issues/62?email_source=notifications&email_token=ABCI75TF5IXTBFVO56STLN3PYYHBPA5CNFSM4G5S6KV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW3TRMI#issuecomment-498546865, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCI75TJA7WLB3SC3VCQONTPYYHBPANCNFSM4G5S6KVQ .

britzl commented 5 years ago

Closing. It should be fixed. Reopen if this isn't the case.