Filter with track AND follow


#1

I would like to filter real-time tweets from a list of accounts (~100 users) and a generic keyword (ex: news). From what I understand, I can only do one or the other but not combine both. This doesn’t work well for my use case because ‘news’ is such a common keyword that I get flooded with tweets.

In the search API I can add some parameters to the query, ex: “news from:some_user” but this doesn’t seem to work in the realtime API.

Is it possible to have this behaviour somehow?


#2

This is not possible with the standard streaming statuses/filter endpoint.

This is possible using the enterprise PowerTrack API - you’d use a rule like

(from:X OR from:Y OR from:Z) "news"

… where your parentheses would contain a large number of accounts.