[twitter-dev] Re: Trying to generate list of names and screennames

2009-05-18 Thread Lorraine
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

[twitter-dev] Re: Trying to generate list of names and screennames

2009-05-18 Thread Abraham Williams
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

[twitter-dev] Re: Trying to generate list of names and screennames

2009-05-17 Thread Abraham Williams
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