简体   繁体   中英

Is there any Twitter logout API?

I have implemented Twitter authentication in my portal. Now, when user logout to portal, I also want to logout user from Twitter. Can anyone know Twitter API to logout ?

You cannot log a user out of the main Twitter site.

Do you want a user to have to re-authenticate themselves with Twitter when they next access your portal? If so, you simply need to remove their OAuth tokens. For example, if they're stored in a user's cookies - unset them. If they're in your database, delete them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM