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?