2

I'm able to attach an account to my users using the normal omniauth-facebook methods. How do I remove the app from the user? Does omniauth-facebook have the functionality to do this? I know for example Pinterest is able to link and unlink facebook from their users. When unlinking is done, the Pinterest app disappears from the facebook user's application list.

Thanks!

Goalie
  • 3,045
  • 5
  • 35
  • 46

1 Answers1

0

You can use Facebook Graph API to revoke access to your application.

You can find more information in FB Graph API documentation here https://developers.facebook.com/docs/facebook-login/permissions/requesting-and-revoking

And in the following stackoverflow thread: Facebook API SDK revoke access

And finally the following stackoverflow thread for an implementation using Koala gem (gem to control Facebook Graph API): How to deauthorize User Facebook Permissions using Koala gem

Community
  • 1
  • 1
Stephane Paquet
  • 2,315
  • 27
  • 31