I use the following code
foreach ($twitter_xml2->channel->item as $key) {
$author = $key->{"guid"};
echo"<li><h5>$author</h5></li>";
}
and it gets me http://twitter.com/USERNAME/statuses/167382363782206976
My question is how do I get only the username ?
Username may be anything
1 Answer