Photo Upload Not Working


#1

Hello

I am having problems with photo upload… I am using the Following Code:
$code = $connection->oAuthRequest(‘POST’, ‘https://upload.twitter.com/1/statuses/update_with_media’,
array(
‘media[]’ => $_SESSION[‘image’],
“status” => $_SESSION[‘tweet_post’]
),
true, // use auth
true // multipart
);

But Its returning me the error shown below:

{“errors”:[{“message”:“Sorry, that page does not exist”,“code”:34}]}

Plz Help me…!! Thanx