im trying to update status with image using


$twitterOAuth->request(‘POST’, https://upload.twitter.com/1.1/statuses/update_with_media.json,
array(‘media[]’=>‘image url’, ‘status’=>‘my status’ ), true, true);

and it gives me 403

but with the same authentications i can post status only using


$twitterOAuth->request(‘POST’, https://api.twitter.com/1/statuses/update.json,
array(‘status’=>‘my status’ ), true, true);

status only update without any problem.


OAuth has some different rules when posting multi-part data. Do you know if the code you’re using follows them? Do you know if you’re actually posting multipart data? Your code refers to a image URL, which isn’t how this API is used.