I use the PHP SDK by OAuth.io to update status with images.
First I send some images to the https://upload.twitter.com/1.1/media/upload.json and get seems to be normal response. I get the id of image but after sending the request to the https://api.twitter.com/1.1/statuses/update.json I get request like I never added image id.
This is my second request
$idmedia= '471592142565957632' //example $risp_tw = $request_object_tw->post ( 'https://api.twitter.com/1.1/statuses/update.json', array ( 'media_ids' => $idmedia, 'status' => $post ));