Can I force user to disconnect from the app? i.e. if user broke some rules, caught cheating, I not only want to remove him from our local DB, but also to disconnect him from using our app too (so it would not appear on his profile anymore).
auth.revokeauthorization is the answer. http://developers.facebook.com/docs/reference/rest/auth.revokeauthorization/
24 August 2014:
You can do is to completely de-authorize the app making the delete call. Once this is done, anyone using your app will have to go through the Facebook Login process as if they were a new user.
To de-authorise a user, you need to make the following request:
DELETE /v2.1/me/permissions HTTP/1.1
Host: graph.facebook.com
https://developers.facebook.com/docs/graph-api/reference/v2.1/user/permissions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With