Got some more information:
I’m uploading media using this script: https://github.com/desmondmorris/node-twitter/tree/master/examples#chunked-media
I get a response back from the finalze request that looks like this
{ media_id: 984834047074385900,
media_id_string: ‘984834047074385920’,
media_key: ‘17_984834047074385920’,
size: 1525405,
expires_after_secs: 86400,
processing_info: { state: ‘pending’, check_after_secs: 1 } }
This nice guy ("Bad Media, unable to process: None." when sending an uploaded video longer than 4 seconds through DM) posted about the STATUS not being taken care of but the link is dead now. I assume it was changed in the December release.
I’m sending this along with the INIT command
command: "INIT",
total_bytes: mediaSize,
media_type: mediaType,
media_category: "dm_gif"
And I’m getting the same error as the man above.
{ code: 151,
2018-04-13T16:43:15.357023+00:00 app[web.1]: message: ‘There was an error sending your message: Bad Media, unable to process: None.’ }
Thoughts?