Twitter API, get Tweet as Image

I understand you can get the specific url of a tweet using the Twitter API by creating a url like this

https://twitter.com/username/status/tweet-id

However, is it possible to get an image of a tweet? I can get media images, but those are just images that people posted in the tweet. I want to know if it is possible to get an image of the tweet itself.


Solution 1:

Twitter's API includes the ability to do this with oembed.

https://dev.twitter.com/rest/reference/get/statuses/oembed