Overview
Powerstream uses Boolean queries with operators to filter Posts based on keywords and metadata. Rules can be up to 2,048 characters and you can have up to 1,000 rules.User operators
Content operators
Entity operators
Available has: options
has:mentions— Posts that mention another userhas:geo— Posts with geolocation datahas:links— Posts containing linkshas:media— Posts containing mediahas:lang— Posts with detected languagehas:symbols— Posts containing cashtagshas:images— Posts containing imageshas:videos— Posts containing videos
Available is: options
is:retweet— Retweetsis:reply— Replies to other postsis:edit— Edited versions of a post (any version after the first)
Filtering out edited posts
Each edit creates a new post with a new ID, and Powerstream delivers every version that matches your rules. Add-is:edit to a rule to receive only the first version of each post.
is:editmatches the later versions in an edit chain. The original post is neveris:edit, so-is:editstill delivers it when it’s posted.- A negated operator applies only to the term next to it.
cat OR dog -is:editmeanscat OR (dog -is:edit). To exclude edits for every term, group them:(cat OR dog) -is:edit. - If a keyword appears only in the edited text,
-is:editdelivers nothing for that post: the original doesn’t match, and the edit is excluded. - Reposts, quotes, and replies of an edited post aren’t edits themselves, so
-is:editdoesn’t exclude them.
Location operators
User profile operators
Post reference operators
Special syntax operators
Logical operators
Building rules
Basic examples
Combining operators
Next steps
Powerstream introduction
Get started with Powerstream
Handling disconnections
Handle streaming disconnections
Recovery and redundancy
Recover missed data