I am using the POST media/upload (chunked) API for uploading my 1 MB video on twitter as a tweet,
and using the code-bird twitter library file. I have follow the following step for uploading video.
- INIT (Initialize an upload)
- APPEND (Upload(s) of chunked data)
- FINALIZE (Complete the upload)
- STATUS (Check the processing status of the upload (for async video uploads only))
First 3 step i got successful response with media id. Here is my step4 code
`// Now use the media_id in a tweet $reply = $cb->statuses_update(array( 'status' => 'Twitter now accepts video uploads.', 'media_ids' => $media_id ));`
However when i try to update status with ‘media_ids’ as parameter in this API, this returned the following error.
Please help me out if you find any mistake in my code. Any suggestion would be appreciated.
Thanks in advanced.