twitter.hashtags

A list of Twitter hashtags mentioned in a Tweet.

When using this target for filtering, ensure that you use the correct operator with this target:

  • For one hashtag, use the == operator
  • For a list of two or more hashtags, use the in operator

Since this target is an array and we are filtering for a list of values, we are using the == or in operator (not contains or contains_any).

Examples

  1. Filter for Tweets that mention #snow:

    twitter.hashtags == "snow"

    Note that the argument is "snow" and not "#snow"; you do not need to include the hash symbol in the CSDL.

  2. Filter for Tweets that mention #snow or #work:

    twitter.hashtags IN "snow, work"

Resource information

Target service: Twitter

Target object: Twitter: Tweet

Type: array(string)

Array: Yes

Always exists: No