Tom, you really over did it here, thanks for this update, going to add this in my meme website. thanks once more.
chuang
I am a beginner at this, but is it possible to indentify the accounts who are logged in? it is possible to know if somone is logged in in a social media site, but is it possible to know the name/adress of that account? If that is possible than clearing cookies is useless because they will track you anyway everytime you are logged in.
Jay
very cool!
is there a way to detect Pinterest login status?
eric
Love it!
Is it possible to detect their username or avatar?
Nice solution to a dilemma we have had for some time now. It’s all nice to send your user to a G+ service but it get’s very nice when you can add logic according to their login/off status. Thanks!
Nice post. Is there anyway we can get the username for each as well. For e.g. if a user is logged on to gmail, fb or twitter then display the associated username or email related to the account?
[…] I have an app that allows facebook and twitter logins. For facebook, there’s a javascript API that can tell me, on page load, if a user is both logged into facebook and connected to my app. This is useful in case their session has expired, so I can easily log them in again. However, with twitter, I haven’t been able to find anything like this. There’s a very hacky way of detecting if the user has logged in (taken from here): […]
[…] javascript template that works for all 3 networks. If you want to get straight to the code jump to the implementation section or check out the Social Network Login Status Detector […]
jayenne
Hi, Does the twitter method still work? I can’t get anything from it ATM and wondered if twitter have broken this method?
95 responses to “Detect if visitors are logged into Twitter, Facebook or Google+”
Tom, you really over did it here, thanks for this update, going to add this in my meme website. thanks once more.
I am a beginner at this, but is it possible to indentify the accounts who are logged in? it is possible to know if somone is logged in in a social media site, but is it possible to know the name/adress of that account? If that is possible than clearing cookies is useless because they will track you anyway everytime you are logged in.
very cool!
is there a way to detect Pinterest login status?
Love it!
Is it possible to detect their username or avatar?
This is smart but rather bordering on the privacy issues.
Anyone got any ideas to put it to good use ?
your twitter demo doesn’t work anymore for me either :/
Hi Tom
The Twitter demo doesn’t seem to be working anymore. Do you have any ideas on how to fix this?
Hi Tom,
is there a way to check whether the user is logged in a social network and if yes, show their profile picture and name somewehere on the website?
Thanks, Roman
The proof of concept failed to recognize that I was currently logged in to Twitter.
Nice solution to a dilemma we have had for some time now. It’s all nice to send your user to a G+ service but it get’s very nice when you can add logic according to their login/off status. Thanks!
very good
Hello, would you like to post this on GitHub, I would like to help maintain and add some improvements.
I would like to help maintain in github
Nice post. Is there anyway we can get the username for each as well. For e.g. if a user is logged on to gmail, fb or twitter then display the associated username or email related to the account?
[…] I have an app that allows facebook and twitter logins. For facebook, there’s a javascript API that can tell me, on page load, if a user is both logged into facebook and connected to my app. This is useful in case their session has expired, so I can easily log them in again. However, with twitter, I haven’t been able to find anything like this. There’s a very hacky way of detecting if the user has logged in (taken from here): […]
Excelente 😀 Too powerfull in evil hands xD
[…] via Detect if visitors are logged into Twitter, Facebook or Google+. […]
[…] http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ ì—ì„œ 참조 […]
how can detect name and family
please help me i need that code
[…] javascript template that works for all 3 networks. If you want to get straight to the code jump to the implementation section or check out the Social Network Login Status Detector […]
Hi, Does the twitter method still work? I can’t get anything from it ATM and wondered if twitter have broken this method?