Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Twitter api logout on Twitter?

Tags:

twitter

User login my application with oauth, after logout my application but twitter can't do, problem is user twitter account is active.

when that logout my application at the same time logout twitter

twitter api not support this action?

like image 651
Ilyax Avatar asked Nov 12 '10 09:11

Ilyax


2 Answers

No, the twitter API will not log your users out of twitter.

account/end_session only ends the current API Session. I'm working on an site that requires users to be able to log out and then log back in again with another twitter account. To do that, you have to store multiple access tokens per user and establish one as the current access token. More info in the link below.

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/02e44b27d7ba3661?pli=1

As far as signing out of twitter, it's up to the user to sign into twitter and sign out themselves, which is not ideal if working on a shared computer.

like image 166
n1ch0la5 Avatar answered Nov 15 '22 13:11

n1ch0la5


Twitter just closing the session at api ,not close the session on Twitter :)

like image 35
Ilyax Avatar answered Nov 15 '22 13:11

Ilyax