Get photo from expanded_url


How it’s possible to get the image from the expanded_url of a tweet ?
With REST API I use the the media_url but in Streaming API the field is empty
Thank you


The tweet data returned by the Streaming API is the same data that is returned by the REST API, so if the media_url is not populated then there is no media attached. Can you provide an example showing where this is empty?