According to this topic: Follower count number in Twitter
I'm using this code:
<script>
jQuery.ajax({
url: "https://cdn.syndication.twimg.com/widgets/followbutton/info.json?screen_names=stackoverflow",
dataType : 'jsonp',
crossDomain : true
}).done(function(data) {
console.log(data[0]['followers_count']);
jQuery('#followers_count').append(followers_count).digits($);
});</script>
And this:
<span id="followers_count"></span>
To retrieve the followers count from Twitter Rest API, but it's not working. I'd like to know if there is any way to retrieve that data, using REST or not, and with jQuery only. No php, only javascript, JSON or jQuery. Is it possible to use any javascript library for that? I can't use php, got my own reasons.