How can I get “Revoke access” callback or authorisation status for an application?


#1

I created a Twitter application and could login Twitter with OAuth.
However I could not find callback or status check API for “Revoke access” at Twitter Applications settings.
When I use Facebook API, this has Deauthorize Callback Url setting. This callback will be called when user remove the application at settings page.
Does Twitter API have such APIs or settings? If there is not such “Deauthorize Callback Url” settings, I would like to check my application authorization status at an user. How can I do such things and which api should I use?


#2

There’s no such endpoint or callback as Twitter currently only implements OAuth 1.0A. You’ll have to respond appropriately to a user token being revoked by handling the error.