I have a big list of Twitter users stored in a database, almost 1000.
I would like to use the Streaming API in order to stream tweets from these users, but I cannot find an appropriate way to do this.
Help would be very much appreciated.
Unlike Twitter's Search API where you are polling data from tweets that have already happened, Twitter's Streaming API is a push of data as tweets happen in near real-time. With Twitter's Streaming API, users register a set of criteria (keywords, usernames, locations, named places, etc.)
While not rate limited by the API, a user is limited in the number of Tweets they can create at a time. If the number of updates posted by the user reaches the current allowed limit this method will return an HTTP 403 error.
These RESTful APIs supports a single query of up to 2,048 characters per request. Queries are written with the PowerTrack rule syntax - see Rules and filtering for more details. Users can specify any time period, to the granularity of a minute.
According to the Twitter API documentation, you can only use the streaming API to follow up to 400 users. For more than that, you'll have to request an increased access level for the account you use to access the API.
You can track 400 filter words and 5000 userids via streaming api. Filter words can be something apple, orange, ipad etc... And in order to track any user's timeline you need to get the user's twitter user id.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With