Twitter lists the PHP Libraries below on their developer site. I’m working my way through their code, but I wanted to get some feedback from the community of experts.
- Are there others which are newer / better?
- Which one is the most widely used?
- What are the advantages and disadvantages for each?
- Oauth-php by Corollarium Technologies – an OAuth library for clients and providers
- Services_Twitter (PEAR) by Joe Stump, David Jean Louis and Bill Shupp – a Twitter API library
- TmhOAuth by Matt Harris – an OAuth library (supports file uploading)
- TwitterOAuth by Abraham Williams – a Twitter API library
- Twitter async by Jaisen Mathai – a wrapper for Twitter OAuth API (provides asynchronous calls)
Notes: I know the “Which one should I use?” part of the question title is subjective, but I think the question body asks in a more objective way and the title seemed better shorter.
I will upvote all helpful / useful answers 🙂
I’ve used Abraham’s TwitterOAuth library and find it to be quite good. It comes with some good working example pages that go through the OAuth dance, and provides you with a simple TwitterOAuth object that has methods like
getandpost.I can’t comment on the other libraries, as I haven’t used them – but then I haven’t needed to either 😉