If the account isn't protected, have you considered using the RSS feed instead? 
http://twitter.com/statuses/user_timeline/username.rss

Otherwise, I've used the PEAR class Services_Twitter 
(http://pear.php.net/package/Services_Twitter)

On 2/09/2010, at 4:37 PM, Harvey Kane wrote:

> Hi All,
> 
> Just got an email from Twitter saying the authentication system is changing 
> for Twitter apps as from 2 days ago. Probably not so coincidentally, a site 
> that displays recent tweets stopped working - It's getting 401 errors when it 
> tries to connect.
> 
> Can anyone recommend a basic Twitter PHP class that works with the new oauth 
> authentication? I just need to get the latest X tweets into an array so I can 
> display them on the site. Nothing more.
> 
> Cheers,
> 
> Harvey.
> 
> -- 
> Harvey Kane
> 
> Phone:
> - Auckland: +64 9 950 4133
> - Wanaka: +64 3 746 8133
> - Mobile: +64 21 811 951
> 
> Email: [email protected]
> If you need to contact me urgently, please read my email policy 
> www.ragepank.com/email/
> 
> -- 
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]

---
Simon Welsh
Admin of http://simon.geek.nz/

Who said Microsoft never created a bug-free program? The blue screen never, 
ever crashes!

http://www.thinkgeek.com/brain/gimme.cgi?wid=81d520e5e




-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to