简体   繁体   中英

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

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM