How to revoke token access?

Mar 25, 2014 at 11:34 AM
Hi,
I'm using your credentials solution to allow our website's users to login with their twitter account: all works fine and I'm able to save the users' token access.

I need also to revoke token access to unlink my site from user's account... but I can't find how can I do it by your library.

I think that I can't use the application only authorizer because with this method I can't get the current user is true?

Thanks
Marco
Coordinator
Mar 25, 2014 at 5:54 PM
Hi Marco,

Twitter API doesn't have an option to do that. As you know, the user can revoke your app's access to their account. If you wanted to go the other way, you would have to add some business logic that checked the user in your database to see if you've revoked their access.

@JoeMayo