Cool Tweet/Twitter Follower Counter Using jQuery

In the current time of social networking social bookmarks have become lifeline of any website that needs to attract traffic ( including :P). Everyone wants to show the number of subscribers/follwers of  is/her site. This task has been oversimplified by jQuery, where a single line of code can ease your life a lot. In this post I am showing how to display ‘Number of tweets’ and ‘Number of Twitter followers of your
website’. Lets watch how does it work?

Live Demo Download Script

jQuery Code

<script type="text/javascript" src=""></script>
<script type="text/javascript">
url = "";

// Get Number of Tweet Count From TweetMeme
$('#twit').html(' Tweets : [' + data.story.url_count + ']');

// Get Number of Twitter Followers From
twitterusername = 'arvind_bh';
$('#twitflw').html('Twitter Followers : [' + data.followers_count + ']');


a { color:#C0C; font-size:18px; font-weight:bold; font-family:Verdana, Geneva, sans-serif; text-decoration:none; }
<div style="border:2px solid #C0C; margin:20px;">
URL : <a href=""></a><br/><br />
<li><a href="" id="twit"></a></li>
<li><a href="" id="twitflw"></a></li>

Written by Arvind Bhardwaj

Arvind is a certified Magento 2 expert with more than 10 years of industry-wide experience.