Is the only way to get the follower count number in plain text is using cURL? or does the twitter API provides any such option?
Click on your profile image (top left) to go to your profile information. In the top right, you will see your follower count rounded to the nearest hundred. Click on that and you will see a list of all your followers along with an exact follower count.
Every Twitter account can follow up to 5,000 accounts. Once you reach that number, you may need to wait until your account has more followers before you can follow additional accounts. This number is different for each account and is automatically calculated based on your unique ratio of followers to following.
Inside Twitter: An In-Depth Look Inside the World of Twitter The Facts: 92.4% of Twitter users follow less than 100 people, while 97.8% of Twitter users follow less than 400 people. At the other end of the extreme, 0.94% of Twitter users follow more than 1,000 people.
Five thousand followers indicates that you have a successful and popular account (if you aren't famous) but it's not significant in any other way. Only 2.05% of Twitter accounts have more than 1,000 followers and the vast majority, 95.8%, have less than 500 followers.
https://api.twitter.com/1/users/lookup.json?screen_name=tvdw (my profile, just replace the screen name)
Also available as XML: https://api.twitter.com/1/users/lookup.xml?screen_name=tvdw
Obtaining it in PHP:
$data = json_decode(file_get_contents('https://api.twitter.com/1/users/lookup.json?screen_name=tvdw'), true);
echo $data[0]['followers_count'];
In API version 1.1 you can use: https://dev.twitter.com/docs/api/1.1/get/users/show
the 'followers_count' field should contain the follower count number.
In API version 1 which is deprecated you can use: https://dev.twitter.com/docs/api/1/get/users/show
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With