Is it possible to create a stream on a list?


#1

Is it possible to create a stream on a list? just like user streaming with=following ?


#2

Sure, you can get all list members with https://dev.twitter.com/rest/reference/get/lists/members, extract user ids, and use the follow parameter on the filter stream


#3

not happy with the solution as we need to restart the process whenever changes made to the list. :frowning:
thought i could get status updates from more than 5000 screen_name[s].by running stream on multiple lists…


#4

No, there’s no way around the 5000 user id limit on the filter stream, and you need to restart the stream when the set of user ids changes anyway.

Another possibility is polling https://dev.twitter.com/rest/reference/get/lists/statuses navigating it with count, since_id, max_id like a timeline for each list.


#5

polling is hard to get all tweets in realtime and some tweet may be missed if number of updates is huge in short time of period.


#6

If you need to do something like this, then you probably should take a look at the PowerTrack products from Twitter’s Gnip data service. They also allow you to dynamically inject new rules for filtering which do not require you to restart your process or reconnect. The public streaming API is not built for this kind of level of data volume.