twitter.retweet.media.media_url

The URL of an image attached to a Retweet.

A Retweet can include usernames, hashtags, media, and the author's location. At the time of writing, the only type of media available is images. You can use this target to filter for content if you know the URL of a media file included in a Retweet. For instance, suppose a celebrity or brand share an image on Twitter, you can use this target to filter for Retweets of the image and find out what people are Tweeting about it.

Remember, the URL of an image is different than the display URL visible in the Retweet itself. To view the full URL, click on the display URL of an image in a Retweet. Then right-click on the image and click View Image. The full URL is then visible in the address bar of your browser.

Examples

  1. Filter for Retweets that mention Lady Gaga and include a particular image:

twitter.retweet.mentions == "ladygaga" AND
twitter.retweet.media.media_url == "https://pbs.twimg.com/media/A_ZmVriCAAAFzSs.jpg"

Resource information

Target service: Twitter

Target object: Twitter: Retweet

Type: array(string)

Array: Yes

Always exists: No