Hello All,
I’m working on a solution which should allow users to subscribe to different twitter accounts to receive fresh tweets in real-time. Let’s assume I have 150k users which subscribed to a few twitter accounts (and/or hashtags)
How can it be achieved by “statuses/filter.json” endpoint? Is it allowed to create individual stream (per user token) for each user with his filter from the same server app? How many connections are allowed from 1 app? Is it allowed to register a few apps from the same dev account to start streams per each app?
Thanks.
For that many users you’d probably want the powertrack thing PowerTrack API | Twitter API | Docs | Twitter Developer Platform
You can’t really achieve this with the standard statuses/filter endpoint: you can only connect one or maybe twice from the same IP before the connection disconnects the older one, you can’t change filter parameters without reconnecting (which means you’ll miss tweets), the 400 track keywords, 5,000 follow userids limits mean that you can’t really have enough room to serve that many users and their queries even if you do group them together, and you can’t register multiple applications to try and get around limits because they’re likely to be suspended.
With the limitations, you could probably make a demo version for a couple of people with statuses/filter - however, if the things you are tracking are really limited - then maybe the number of customers you have is irrelevant, if they all want the same things that is. In that case you’ll just maintain a single connection on everyone’s behalf and serve them results on your end.
2 Likes
Thank you, IgorBrigadir.
But I’m trying to run 6 streams (each has own user token) and it works.
So if I add big number of streams - my twitter app will be blocked?
Thanks.
It seems unlikely that this is something that you can easily achieve using the Twitter standard APIs.
This is against the developer terms.
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.