74 Comments
Webmentions
[…] previously written about identifying whether a user is logged in to a certain social network, and this attack is a variation of that method (albeit more serious, […]
[…] discussed by Jeremiah Grossman back in and and Tom Anthony in , and set up by Robin Linus in 2019 as a live demo with which you can test your browser , this […]
[…] discussed by Jeremiah Grossman back in 2008 and Tom Anthony in 2012, and set up by Robin Linus in 2016 as a live demo with which you can test your browser, this […]
[…] l’ont expliqué Jeremiah Grossman en 2008 et Tom Anthony en 2012, et comme l’a mis en place Robin Linus en 2016 sous la forme d’une démo en direct avec […]
[…] Anthony shared a very cool workaround for figuring out whether someone is logged into a social network or […]
[…] Detect if visitors are logged into Twitter, Facebook or Google+, Tom Anthony explains how to determine what social networks your users are logged into. The […]
[…] 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 […]
[…] http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ 에서 참조 […]
[…] via Detect if visitors are logged into Twitter, Facebook or Google+. […]
[…] 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): […]
[…] is set up is that it first detects if the visitor is logged into facebook. It does this through a hack revealed here. If you are not logged in, it removes the trailing iframe. If it doesn’t do this, a Facebook […]
[…] 2) identify which visitors are logged into twitter/G+/facebook etc. – you can do this using a technique written about in much better detail that I will go into here by a friend of mine and allround top SEO bloke, Tom Anthony […]
[…] final tip actually comes courtesy of Tom Anthony who first wrote about this last year on his personal blog here. However, as with other things in this article the actual implementation needs to change in order […]
[…] in February, Tom Anthony wrote a couple of great posts on how to detect if visitors were logged into a social network and then how to use Google Analytics to track this […]
[…] また、facebookやtwitterなどにログインしているユーザに、特別なメッセージを表示させることでシェアを誘発する方法も可能で、これは興味深い解説でした。http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ […]
[…] can find more details and elaborations here: https://grepular.com/Abusing_HTTP_St…te_Information http://www.tomanthony.co.uk/blog/det…cial-networks/ I must say though that finding whether a user is logged in or not is very useful in Clickjacking […]
[…] can find more details and elaborations here: https://grepular.com/Abusing_HTTP_St…te_Information http://www.tomanthony.co.uk/blog/det…cial-networks/ Reply With […]
[…] by Tom Anthony’s initial post outlining both Twitter and Google’s login mechanism (Facebook below), and authored by Marty […]
[…] you follow through on this website – http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ – you will find an article that explains the mechanics and from there I imagine a technically […]
[…] Clever hack. […]
[…] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk – Today, 1:24 […]
[…] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk – Today, 9:39 […]
[…] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk (via @seotweetz) – Today, 1:50 […]
[…] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk (via @eklaus) – Today, 12:20 […]
[…] […]
This was just the bit of code I was looking for to fix a google docs glitch. Thanks!
http://www.joshualawrencechamberlain.com/autobiography.php
Very interesting approach to this challenge. I have been trying to think of a way to detect whether someone is logged into a social network or other service, but wasn’t able to figure it out. Looks like you’ve solved this, at least temporarily, until they change something so that this no longer works.
I try to detect visitators from social netkworm from year but useles! Now after I read this article I will try to follow your advices and I hope to work!
Thanks for this great article!
Really nice. I setted it up and worked fine. It still works fine in Twitter em G+. With Facebook I have an error message saying the SDK version is not supported anymore! Any idea how to fix? Anyway, thank you so much!
your twitter demo doesn’t work for me :/
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?
Excelente 😀 Too powerfull in evil hands xD
how can detect name and family
please help me i need that code
Hi, Does the twitter method still work? I can’t get anything from it ATM and wondered if twitter have broken this method?
Thanks for sharing this. This was a big help in some social media research we conducted on MDN. I wrote a follow-up blog post with an updated Twitter example for anyone interested.
Sir,May i know the email id of visitor who is currently logged in.
Nice site! Do you know some linked in things too?
Sir is there any way to know the email id of visitor who is currently logged in.