Unauthorize your Facebook app with the new OpenGraph API

I have this code to unauthorize my FB application for the current user:

FB.api({ method: 'Auth.revokeAuthorization' });

Uses obsolete REST API. How can I do the same with the OpenGraph API using the FB.api method?

0
source share
2 answers

I understood:

FB.api("/me/permissions", "delete", function(response){});
+3
source

In the graph API, you can send an HTTP DELETE request to

https://graph.facebook.com/_UID_/permissions  

this should deauthorize the application

+1
source

All Articles