This is great news. I’m having a problem with the chunking though.
So if I upload a single chunk and finalise and add to media_ids on statuses/update.json it all works fine.
However if I upload multiple chunks I get an error, so here’s the logic
WORKING:
- Init -> get media_id
- Append segment 0 -> get 204 status code
- Finalize -> get valid json back
- Post to statuses/update with the media_id, post succeeds
BREAKS:
- Init -> get media_id
- Append segment 0 -> get 204 status code
- Append segment 1 -> get 204 status code
- Finalize -> get valid json back
{“media_id_string”:“601737201186152448”,“expires_after_secs”:3600,“media_id”:601737201186152448,“size”:1124814,“video”:{“video_type”:“video/mp4”}}
- Call statuses/update.json with the media_id as the first example. Get a 400 bad request status code back.
Basically I get a 400 bad request to update.json for all media uploads that use multiple segments but not with a single segment. Any ideas?