Re: [twitter-dev] Re: Help converting Basic Auth to oAuth

2010-10-01 Thread Lorraine
Thanks again, but now am getting: Warning: Invalid argument supplied for foreach() It looks correct to me, so I'm confused about the warning. Thanks Lorraine On Fri, Oct 1, 2010 at 3:54 AM, Abraham Williams <4bra...@gmail.com> wrote: > You don't need the cURL and XML code

Re: [twitter-dev] Re: Help converting Basic Auth to oAuth

2010-09-30 Thread Lorraine
Also wanted to mention that the original code is based on the tutorial here: http://papermashup.com/using-the-twitter-api/ and the data is automatically inserted into a database. Thanks, Lorraine Thank you so much, Abraham! I'm getting an error "String could not be parsed > as XML&

Re: [twitter-dev] Re: Help converting Basic Auth to oAuth

2010-09-30 Thread Lorraine
weeters = new SimpleXMLElement($twi); I then go on to grab data using foreach ($tweeters->status as $twit1) { etc. Thanks again, Lorraine On Fri, Oct 1, 2010 at 2:13 AM, Abraham Williams <4bra...@gmail.com> wrote: > Make sure you reset your consumer key on http://dev.twitter.com/ap

[twitter-dev] Re: Help converting Basic Auth to oAuth

2010-09-30 Thread Lorraine
ters = new SimpleXMLElement($twi); $latesttweets = count($tweeters); ... or am I completely off the mark? Thanks very much :) Lorraine -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhanceme

[twitter-dev] Help converting Basic Auth to oAuth

2010-09-29 Thread Lorraine
y don't know where to start. I assume I need to replace the $username and $password bit with something like this: require_once('twitteroauth.php'); $connection = new TwitterOAuth('app consumer key', 'app consumer secret', 'my access token', 'my access token s

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

2009-05-18 Thread Lorraine
4bra...@gmail.com>wrote: > Try using http://twitter.com/statuses/friends.xml instead. > > > On Sun, May 17, 2009 at 13:38, Lorraine wrote: > >> Hope someone can help. I'm trying to generate a list of names and >> screen_names of the people I'm following

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

2009-05-17 Thread Lorraine
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 and screen_name of the user with the latest update... over and over again. I'm a real newbie when it comes to PHP-- here's my code: htt