Hello,
The tweets I am posting via 1.1/statuses/update.json endpoint are going out correctly but there’s no trace of the uploaded media I am attaching to the tweet when I view the tweet at Twitter website.
The result of calling 1.1/media/upload.json with the FINALIZE command is as follow:
$response: array(5) {
["media_id"]=>
int(925833066102243328)
["media_id_string"]=>
string(18) "925833066102243328"
["size"]=>
int(6996)
["expires_after_secs"]=>
int(86400)
["image"]=>
array(3) {
["image_type"]=>
string(9) "image/png"
["w"]=>
int(128)
["h"]=>
int(128)
}
}
The size and dimensions are correct so I am assuming I am indeed transferring the image to Twitter correctly.
- I tried different images.
- I am not waiting until the media is expired and I am uploading a new one with every try.
- I am using a 64 bit server and I tried media_id_string without success.
- I am not using any existing libraries for the authentication or posting.
- I tried to add additional fields (lat and long) and it worked without any issue.
- I am passing
media_ids with status.
I’ve been wrestling with this issue for the past 6 hours or so! Your help would be greatly appreciated.