For some reason, the media_ids parameter is being ignored. I’ve look through other topics, but there doesn’t seem to be a concrete answer.
I’m using the TwitterAPIexchange.php library, here is sample code:
$url = 'https://api.twitter.com/1.1/statuses/update.json'; $postfields = array( "media_ids" => 586661110067114984, "status" => "So we keep on testing!" ); $requestMethod = 'POST'; echo $twitter->setPostfields($postfields) ->buildOauth($url, $requestMethod) ->performRequest();
Thank you for your help!
EDIT: The status gets updated but without the image.