I am successfully able to post a media object and I am getting back an id. when trying to post a status update with the respective media_ids, its giving me a bad request. What could be the cause of the problem?
Media Upload Result:
object(stdClass)#16 (4) {
["media_id"]=>
int(535153977458167809)
["media_id_string"]=>
string(18) "535153977458167809"
["size"]=>
int(3217011)
["image"]=>
object(stdClass)#17 (3) {
["w"]=>
int(1600)
["h"]=>
int(1200)
["image_type"]=>
string(9) "image/png"
}
}
Status Update Parameters:
array(6) {
["media_ids"]=>
string(18) "535153977458167809"
["status"]=>
string(4) "test"
}
Status Update Failed Result:
array(1) {
["errors"]=>
array(1) {
[0]=>
object(stdClass)#13 (2) {
["code"]=>
int(214)
["message"]=>
string(12) "Bad request."
}
}
}