twitter top users
Posted: Tue Feb 16, 2010 6:47 pm
hello dear i am working on a twitter website can anybody help me how i can get top twitter users from the twitter api
thanks i am using this code for getting user info
thanks i am using this code for getting user info
Code: Select all
function getTwitterStatus($userid)
{
echo $url = "http://twitter.com/statuses/user_timeline/$userid.xml?count=1";
$xml = simplexml_load_file($url) or die("could not connect");
foreach($xml as $user)
{
return $user;
}
}