Thanks Abraham- I did that, but get the same problem with the looping. The
same name of one user over and over again. Here's the updated code...
?php
// set user/pswd
$username = 'SweeterLorraine';
$password = 'anaxwax';
// create a new curl resource
$ch = curl_init();
// set URL and options
foreach ($xml-user as $user) {
$username = $user-name;
$userscreenname = $user-screen_name;
$userid = $user-id;
echo p class='text-name'.$username./p;//status
echo p class='text-screenname'.$userscreenname./p;//status
echo p class='text-screenname'.$userid./p;//status
}
On Mon, May 18, 2009
Try using http://twitter.com/statuses/friends.xml instead.
On Sun, May 17, 2009 at 13:38, Lorraine lorrainema...@gmail.com wrote:
Hope someone can help. I'm trying to generate a list of names and
screen_names of the people I'm following on Twitter. The problem is that it
just prints the name