I am using Abraham's Twitter oAuth library to update Tweets. It works just fine. However I am curious how to grab the http code and xml string returned by Twitter for error checking. I tried to echo the "$response" variable but dont see any output in browser even after the tweet was successfully posted to the account.
Assuming you are using the following to post the new tweet. $response = $connection->post('statuses/update', array('status' => 'text to tweet')); $response will contain an object of the newly created status. and $connection->http_code will return the HTTP code for the most recent call to Twitter.