Home > DeveloperSection > Forums > Facebook connect and account remove
Jeet Verma
Jeet Verma

Total Post:110

Points:776
Posted on    May-18-2013 1:26 AM

 Facebook API Facebook API 
Ratings:


 1 Reply(s)
 936  View(s)
Rate this:
Hi All!

I have a website where users can log in with the Facebook oAuth API.

Once the user logs in or registers via Facebook it is stored in my database.

But what I'd like to achieve is, once the user goes to his Facebook application settings page and removes my website app permissions, the used should also be deleted 

from my database.

Is there any work around to this problem, if this is not possible via the Facebook oAuth API?

Please help!
Thanks in advance! 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    May-18-2013 8:30 AM

Hi Jeet!

You can add deauthorise Callback URL by Navigating to Settings > Advanced section of your application. Whenever a User deauthorises your Facebook app, Facebook performs a HTTP POST of signed request to your URL. You may use the field user_id to determine which User has deauthorised your app.


Don't want to miss updates? Please click the below button!

Follow MindStick