As a quick update, I ran this sequence of commands:
twurl -H upload.twitter.com -X POST "/1.1/media/upload.json" --file "giphy.gif" --file-field "media"
And then:
twurl "/1.1/statuses/update.json" -d "media_ids=704366833223086080&status=Sample Tweet with media_ids and twurl"
Some observations:
- This actually worked, and posted a tweet with the animated Gif. Admittedly it’s the public API not the accounts API.
- The return result of the second cal returns
media_url as a jpg. This is because it is backward compatible with non-gif supported clients.
- The
extended_entities returned has the video information
I’ll work on the ads API, but can you supply the result you’re getting in the post, and the URL of the tweet so we can take a quick look in the UI?