How to build a filtering rule
Enter your filtering rule and send it to your TV device
Rule examples
Tweets about your company with image#yourcompanyname has:images
Positive comments about World Cup Qatar 2022(#worldcup2022
OR
#worldcup OR
#qatar) (happy OR exciting OR excited OR favorite OR fav OR amazing OR lovely OR incredible) -horrible -worst -sucks -bad -disappointing -is:retweet
Tweets from Elon Muskfrom:elonmusk
To build a rule, start with a broad, standalone operator such as a single keyword or #hashtag
List of operators : https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/integrate/build-a-rule#list
It can be #
for hashtags, @
for mentions to a given username, from:
, to:
and much more…
Example : #thankunext #fanart OR @arianagrande
Test your rule early and often with the stream endpoint to see what data it returns
Use results to narrow the rule by adding conditional operators
If you notice that you are not receiving data that you expect, you may need to broaden your rule by removing operators
Maintain your rule by periodically checking in on the data that you are receiving to see if you need to make any adjustments
For more information, check official documentation https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/integrate/build-a-rule