Hi @nicky_robby - The
from: operator works with Sanbox. The reason this isn’t working the way you want it to is because when combining AND and OR functionality in a single rule, the following order of operations will dictate how your rule is evaluated:
- Operators connected by AND logic (whitespace) are combined first
- Then, operators connected with OR logic (
OR) are applied
So the way your rule is currently set up translates like this:
eggs OR apples OR (bananas from:screen_name) and this will return all Tweets from the given screen name with the keyword ‘bananas’, as well as all Tweets from any user that mention the keywords ‘apples’ or ‘eggs’.
If you want your rule to match Tweets that contain the words ‘eggs’, ‘bananas’ or ‘apples’ from one given user only, your rule should look something like this:
(bananas OR apples OR eggs) from:screen_name
You can read more about building rules in our documentation here: https://developer.twitter.com/en/docs/tweets/rules-and-filtering/guides/using-premium-operators#order-of-operations
I hope this helps!