Subasri sridhar
Subasri sridhar

Reputation: 831

Download video from Twitter using Twitter API without using thirdparty library

I'm trying to download this video from Twitter using Twitter API https://twitter.com/Google/status/1257326183101980673 . When I searched extended entities is supposed to have the media files. But, for the mentioned link in the get status API, extended entities are not available in the response.

here is the response of /statuses/show.json - https://textuploader.com/18p95

Could anyone help me in the direction to solve this problem?

Thanks in advance.

Upvotes: 1

Views: 1810

Answers (1)

Subasri sridhar
Subasri sridhar

Reputation: 831

The extended entities will be hidden for large tweet texts it seems to see all the parameters including media_URL, I had added tweet_mode as extended to the API end point

GET https://api.twitter.com/1.1/statuses/show.json?id=1257326183101980673&tweet_mode=extended

I hope this helps if someone looking at the same problem

Upvotes: 1

Related Questions