A list of the Twitter usernames mentioned in a Tweet.
Take care to use the correct operator with this target. As the examples show, use
==if you are filtering for just one username and use
inif you are filtering for a list of two or more usernames.
Filter for Tweets that mention @datasift:
twitter.mentions == "DataSift"
Note that the argument is "datasift" rather than "@datasift". Also, remember that the target is an array and we are filtering for just one value so we use the
Filter for Tweets that mention @LadyGaga or @Beyonce:
twitter.mentions in "LadyGaga, Beyonce"
The target is an array and we are filtering for a list of values so we use the
You cannot filter for usernames or links in the twitter.text target.
For example, suppose the original text of a Tweet is:
"@datasift launched today! http://bitly.com/r6pmP0"
The Tweet will not match against this filter:
twitter.text contains "@datasift" OR twitter.text subst "bitly"
It will match against this filter:
twitter.text contains "launched today"
Target service: Twitter
Target object: Twitter: Tweet
Always exists: No