Getting Twitter Follower Count without Using API

Here is a quick way to get follower stats for any Twitter user without using the Twitter API. I found this via their Follow button so please don’t consider this a permanent solution.

https://cdn.syndication.twimg.com/widgets/followbutton/info.json?screen_names=konstruktors

which returns something like this:

[
   {
      "following":false,
      "id":"17989067",
      "screen_name":"konstruktors",
      "name":"Kaspars",
      "protected":false,
      "followers_count":664,
      "formatted_followers_count":"664 followers",
      "age_gated":false
   }
]

Never lose a single business lead or enquiry again! Get my latest plugin Storage for Contact Form 7 now!

Buy now for only $19 →

4 Comments

  1. Ryan Hellyer says:

    Lol, that’s awesome. I actually needed to set this up a few days ago. It was highly annoying having to dick around with authentication just to get something so basic.

  2. Igor says:

    This is more than great :) thanks a lot for this hint

  3. Hardik Shah says:

    FANTASTIC!!! Just Fantastic. You got my code down to just one single line, instead of 12 or 14. Super hack this is :)

  4. HJ says:

    Sheer genius.
    Appreciated.-

Leave a Reply