How can I check App quit in the facebook instant games?

258 Views Asked by At

I want to call my custom callback when player out of the game. In the docs I found only FBInstant.quit(); method, but I need an exit event. Does Facebook have this feature?

1

There are 1 best solutions below

0
Chris Hawkins On

There are no specific SDK events for this. You may be able to intercept the unload event as described here: Detect browser or tab closing