Remove the application from a user using graph API

I am developing a facebook application, I want to remove my application from a user using Graph API, is there any way to do this.

Answers


When the user is connected, do:

FB.api("/me/permissions","DELETE",function(response){
    console.log(response); //gives true on app delete success 
});

I got this working with a serverside request using Using ASP.Net with Facebook’s Graph API and OAuth 2.0 Authentication this article as reference you get a auth token then when they redirect back to your callback you post a delete request to the graph url e.g.

"https://graph.facebook.com/person_id/permissions?access_token=token


Need Your Help

South - How to force certain migration?

python django django-south

I have a migration, 003, that creates a new table, but for some reason, South isn't creating a new table after executing that migration:

Distributing a shared library and some C code with a Cython extension module

python cython distutils

I'm trying to take some functions from a large C++ shared library (libbig.so) and expose them to Python via Cython. To do so, I've got a little C++ file (small.cpp) that provides a thin wrapper aro...