Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I see which Twitter user is currently logged in?

Tags:

oauth

twitter

api

They are not OAuthed with my site but are logged into Twitter on that browser. Any way for me to know their Twitter username? Cookies.. anything?

like image 580
Shamoon Avatar asked Oct 10 '22 23:10

Shamoon


1 Answers

Unless something is very broken or Twitter has explicitly provided an API for that purpose, no. Not through cookies at least.

Cookies are sandboxed to the domain that created them. No cross-domain access to cookies is allowed.

like image 60
Hounshell Avatar answered Oct 13 '22 11:10

Hounshell