How to display Twitter followers on Website

by in , on

If we talking about Social Network then Google+, Facebook and Twitter are the biggest giant in this field. Let’s talking about Twitter. One of the best way to convey your message to your friends and followers. Twitter also help to increase your traffic on your website or blog. If you notice in most of the websites; people likes to display twitter followers on websites. That also impact to the visitor.

What have to do to show Twitter followers on website?

No need to worry if you are not familiar with the programming, just copy the codes and paste it into your PHP file.


Now just simply call the given function getTwitterFollower() and pass your Twitter account name into this function, something like:


I have used the CURL library with PHP, to fetch the twitter followers. Take a look on the twitter developers section. I just pass the account name to the URL and fetch the data into JSON format. Simply decode the JSON data with the help of json_decode().

Hope you all enjoy this post, if you have some suggestion, then please get in touch through comment section.

  • ffxd

    hmmmmmmmmmmm god