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.
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 get
and post
.
// $connection is the instantiated TwitterOAuth object
$connection->post('statuses/update', array('status' => 'Hello, World!', 'in_reply_to_status_id' => 123456));
$tweets = $connection->get('statuses/home_timeline', array('include_entities' => true));
I can't comment on the other libraries, as I haven't used them - but then I haven't needed to either ;)
Not a person from PHP field but yes have used quite a lot oAuth system for our application.But in my opinion you are the best person to decide which one to use as you have already mentioned in your question (I know the "Which one should I use?" )
the reason for my point is.
My best bet is to analyze your requirements and than do a check which one best fit in your needs and than you can always ask if that is a good choice (provide your requirement also).
So in end answer is with you as requirement are with you :)