Display Twitter Count for a specific screen name

Simon Shahriveri 3rd of July 2012

<?php

$url = "http://api.twitter.com/1/users/show.json?screen_name=Hi_Im_Si&include_entities=true";

$feed = file_get_contents($url);

$twitter_decoded = json_decode($feed);

echo $twitter_decoded->followers_count;

?>
222
Views
0
Comments
2
Downloads
Comments
Only Code Pad members can post comments!

Want to join Code Pad Request An Invite
    No Comments Posted

Suppo - Create, Customize & Host
Your App Support Page at Suppo

Snippet Details

Keyboard Shortcuts

DDownload

TTweet

FFull View

Next Snippet

Previous Snippet