redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
236 stars 64 forks source link

Wrong FilteredStreamRulePredicate#and(FilteredStreamRulePredicate) implementation #344

Closed oleg-grigorijan closed 2 years ago

oleg-grigorijan commented 2 years ago

And operator in the Twitter query syntax looks like a single space " ", not " AND ". " AND " is interpreted as "filter tweets containing AND keyword"

See Boolean operators and grouping section. Also see a warning here:

An uppercase 'AND' will be interpreted as a keyword. For AND logic, use a single whitespace ' ' between clauses

redouane59 commented 2 years ago

Thanks for the feedback ! @rzo1 could you submit a Pull Request to fix it please ?

rzo1 commented 2 years ago

Thanks for the heads up @oleg-grigorijan - cool, that someone is using it. @redouane59 I just submitted a PR, which replaces the AND with the to respect twitter query syntax.

oleg-grigorijan commented 2 years ago

Thanks for your speed 👍🏻