

Sorry for being a bit convoluted with my question and explanationĪlso: Just some feedback - I actually love the new API overall! It’s really easy to use and the additional objects and fields are really useful.

The closest thing to what I want is the preview_image_url but that would only really be useful when my bot works with images. I also had a look at the media object docs. If not, is there an alternative I can use involving the Twitter API to do this? I’d rather not use a tool like youtube-dl Or do we no longer have the ability to do that? So my question is, where should I be looking for a url that looks like (or similar to) this: I had a look at the v2 docs, and saw that there is an entities object, but that only appears to return a link like this: In v1.1, you could find the direct link to an mp4 video file under extended_entities, media in video_info, variants:, url.īecause my bot works with videos a lot, having a direct link to the video (so I can easily retrieve it through software like FFmpeg or something like that), is really handy. I’ve just started playing around with the API v2 today, because I want to move my bot over to it sooner rather than later.
