I am uploading media to use on multiple DMs. The upload seems to go through fine, and the media shows up fine on the DM if I only send to one person. But I get an when I try to send the same media object to more that one person.
Here are the params I’m sending to the image upload:
"Params: media: #<File:0x00007f9248050c80>, media_category_prefix: dm, shared: true"
Which is yielding a media id:
"Twitter media id: 1029489610953506817"
But if sent to a second person I get the following error:
…

Is there anyway to refresh a media_id without re-uploading the attached media?
If I am uploading videos using media/upload, my media could be 512MB videos. It’s a bit unwieldy to have to re-upload these videos after their media_id has expired.

It is possible to attach the same media asset to multiple Direct Messages. However, you must get users’ express consent to set media as “shared,” and must provide them with clear notice that “shared” media will be viewable by anyone with the media’s URL. See the documented process below for how to set media to “shared.”

Thank you for your response. I will give that a go for DMs. Thank you!

What I am most interested in however, is if the same media_id can be reused for multiple Tweet objects? Is this possible at all? I couldn’t find any documentation on the matter except for previous responses to threads which indicated it wasn’t possible. But I’ve been able to do it myself.