문제

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