# FilteredStreamRule

A list of rules that specify the tweets to retrieve.

When you process a filtered stream using the Twitter V2 API, set this parameter to select the tweets to synchronize.

When you use the Twitter V2 API, you can still set Follow, Location, Track, and Language but the connector uses the values that you specify to build a single rule, as if you had set this parameter instead. The FilterLevel parameter is ignored. Micro Focus recommends that you set this parameter instead, because it is more flexible and you can specify multiple rules.

You can specify multiple rules by using numbered parameters, for example `FilteredStreamRule0`, `FilteredStreamRule1`, `FilteredStreamRule2`, and so on. Twitter returns any tweets that match any of the rules.

For information about the rule syntax and how to build rules, refer to the Twitter API documentation. The Twitter API limits the number of rules you can specify, and limits their length (in characters).

This parameter applies only when you set ApiVersion to `V2` and StreamType to `statuses/filter`.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `FilteredStreamRule0=snow OR ice place_country:GB from:bbcweather`
See Also: | ApiVersion StreamType

_FT_HTML5_bannerTitle.htm