Write a Comment

Comment

74 Comments

  1. 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.

  2. 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!

  3. 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!

  4. 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.

  5. 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

  6. 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?

Webmentions

  • How to confirm a Google user’s specific email address (Bug Bounty Submission) - The web development company January 19, 2019

    […] 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, […]

  • Full Third-Party Cookie Blocking and More, Hacker News - DIGITALIVE.WORLD January 19, 2019

    […] 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 […]

  • Full Third-Party Cookie Blocking and More | WebKit January 19, 2019

    […] 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’apocalypse des Cookie se poursuit – OWDIN January 19, 2019

    […] 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 […]

  • 29 Ways to Use Remarketing (& How to Do It) | Raven January 19, 2019

    […] Anthony shared a very cool workaround for figuring out whether someone is logged into a social network or […]

  • Determining whether users are logged into Twitter | Reflections January 19, 2019

    […] 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 […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ - Jacob is studying on web programming January 19, 2019

    […] 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 […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ - Jacob is studying on web programming January 19, 2019

    […] http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ 에서 참조 […]

  • Loginstatus für Twitter, Facebook oder Google+ bestimmen. | No more cubes. January 19, 2019

    […] via Detect if visitors are logged into Twitter, Facebook or Google+. […]

  • Checking if a user has authenticated my app in Twitter January 19, 2019

    […] 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): […]

  • How to get almost every visitor to like your website (Facebook) | Aktarer Zaman January 19, 2019

    […] 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 […]

  • Twitjack 100,000 followers! - Web Marketing School January 19, 2019

    […] 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 […]

  • 3 Cool Analytics Hacks in Google's new Universal Analytics.js January 19, 2019

    […] 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 […]

  • Updated Code: Which Social Networks Are Your Visitors Logged Into | Alex Czartoryski's Blog January 19, 2019

    […] 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 […]

  • 株式会社ISSUN(イッスン) SEO的に見た、ECサイトで「あなたが取り組むべき15のページ要素」2012年版 » 株式会社ISSUN(イッスン) January 19, 2019

    […] また、facebookやtwitterなどにログインしているユーザに、特別なメッセージを表示させることでシェアを誘発する方法も可能で、これは興味深い解説でした。http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ […]

  • Check if User is Logged Into ANY Site - Facebook, Google Plus, Gmail, StumbleUpon, etc January 19, 2019

    […] 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 […]

  • Check if User is Logged Into ANY Site - Facebook, Google Plus, Gmail, StumbleUpon, etc January 19, 2019

    […] 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 […]

  • Using WordPress? Track which social networks your visitors are logged into via Dan Taylor | That's All I Have To Say About That January 19, 2019

    […] by Tom Anthony’s initial post outlining both Twitter and Google’s login mechanism (Facebook below), and authored by Marty […]

  • Who Knows Your Are Logged In? | As I See It January 19, 2019

    […] 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 […]

  • Detect Which Social Networking Sites Website Visitors Are Logged Into January 19, 2019

    […] Clever hack. […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ | ITSecurity | Scoop.it January 19, 2019

    […] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk – Today, 1:24 […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ | SEO php script | Scoop.it January 19, 2019

    […] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk – Today, 9:39 […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ | SEO & Webdesign | Scoop.it January 19, 2019

    […] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk (via @seotweetz) – Today, 1:50 […]

  • Detect if visitors are logged into Twitter, Facebook or Google+ | Social Media Marketing & IT Strategie | Scoop.it January 19, 2019

    […] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk (via @eklaus) – Today, 12:20 […]

  • Social Networks: Trick zeigt Login bei Twitter, Facebook oder Google+ an January 19, 2019

    […] […]