Using this excellent Twitter for AS3 library https://github.com/susisu/Twitter-for-AS3/blob/master/README_en.md

Once a user is logged in to their account, I need to be able to automatically log them out after a specified action. In my case uploading an image.

Does anyone know how to do this with the latest twitter API?

没有正确的解决方案

其他提示

Log them out of Twitter or your app? The former, I guess would be pretty annoying. For the latter, is https://dev.twitter.com/docs/api/1.1/post/oauth2/invalidate_token what you're looking for?

Allows a registered application to revoke an issued OAuth 2 Bearer Token by presenting its client credentials. Once a Bearer Token has been invalidated, new creation attempts will yield a different Bearer Token and usage of the invalidated token will no longer be allowed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top