Posting to twitter with PHP & oAuth
I would really appreciate any help on this.

I am using the TwitterOAuth by Abraham Williams (https://github.com/abraham/twitteroauth) as recommended in the twitter API list.

My main page has this code in it:

    <?php
    // Twitter Class
    require_once('twitteroauth/twitteroauth.php');

    // Twitter Connection Info
    $twitter_access_token = 'xxx';
    $twitter_access_token_secret = 'xxx';
    $twitter_consumer_key = 'xxx';
    $twitter_consumer_secret = 'xxx';

    // Connect to Twitter
    $connection = new TwitterOAuth($twitter_consumer_key, $twitter_consumer_secret,      $twitter_access_token, $twitter_access_token_secret);

    // Post Update
    $content = $connection->post('statuses/update', array('status' => 'Test Tweet'));

    ?>

I have made sure the application has read and write access too.

however, for some reason it is not working.

If it helps I used this at the end of the code:

    var_export($connection->http_info);

which gave this output:

array ( 'url' => 'https://api.twitter.com/1/statuses/update.json', 'content_type' => 'application/json; charset=utf-8', 'http_code' => 401, 'header_size' => 761, 'request_size' => 480, 'filetime' => -1, 'ssl_verify_result' => 0, 'redirect_count' => 0, 'total_time' => 0.292209, 'namelookup_time' => 0.008611, 'connect_time' => 0.071678, 'pretransfer_time' => 0.217113, 'size_upload' => 294, 'size_download' => 75, 'speed_download' => 256, 'speed_upload' => 1006, 'download_content_length' => 75, 'upload_content_length' => 294, 'starttransfer_time' => 0.29201, 'redirect_time' => 0, )

I have no idea what is going on :(

sorry the problem is, that it just doesnt seem to post 
Posting to twitter with PHP & oAuth
===

I would really appreciate any help on this.

I am using the TwitterOAuth by Abraham Williams (https://github.com/abraham/twitteroauth) as recommended in the twitter API list.

My main page has this code in it:

    <?php
    // Twitter Class
    require_once('twitteroauth/twitteroauth.php');

    // Twitter Connection Info
    $twitter_access_token = 'xxx';
    $twitter_access_token_secret = 'xxx';
    $twitter_consumer_key = 'xxx';
    $twitter_consumer_secret = 'xxx';

    // Connect to Twitter
    $connection = new TwitterOAuth($twitter_consumer_key, $twitter_consumer_secret,      $twitter_access_token, $twitter_access_token_secret);

    // Post Update
    $content = $connection->post('statuses/update', array('status' => 'Test Tweet'));

    ?>

I have made sure the application has read and write access too.

however, for some reason it is not working.

If it helps I used this at the end of the code:

    var_export($connection->http_info);

which gave this output:

array ( 'url' => 'https://api.twitter.com/1/statuses/update.json', 'content_type' => 'application/json; charset=utf-8', 'http_code' => 401, 'header_size' => 761, 'request_size' => 480, 'filetime' => -1, 'ssl_verify_result' => 0, 'redirect_count' => 0, 'total_time' => 0.292209, 'namelookup_time' => 0.008611, 'connect_time' => 0.071678, 'pretransfer_time' => 0.217113, 'size_upload' => 294, 'size_download' => 75, 'speed_download' => 256, 'speed_upload' => 1006, 'download_content_length' => 75, 'upload_content_length' => 294, 'starttransfer_time' => 0.29201, 'redirect_time' => 0, )

I have no idea what is going on :(

sorry the problem is, that it just doesnt seem to post 