Our Blog

Recent Posts

Categories

Tag: Twitter

27Jun

PHP tip: How to get number of followers from your Twitter account

Here is a simple solution to get the number of followers from your twitter account:
    $twitterUsername = 'yourusername';
    $countTwitterFollowers = file_get_contents("http://twitter.com/statuses/user_timeline/" . $twitterUsername .
Categorised under: PHP, Twitter