GianArb
#1
Hello
I am working at one application that allows people to follow a list of twitter account that shares information about a common topic.
It is working but I get rate limited pretty often and I would like to double check if there is any way to bump the limit up and also to design a strategy that helps me to guarantee that at some point everybody that required to follow those people will follow them.
I started to design a queue system that moves messages with ~3 hours delays if the first attempt gates rate limited. I am monitoring the rate limits headers Rate limits | Docs | Twitter Developer Platform
but they are always empty, it looks like the friendship/create request does not return them.
Do you have any good practice to share?!
Thanks a lot
friendships/create rate limits aren’t returned because they’re adaptive for each user / app. There’s an app-level rate limit for your entire app that all your users share, and there’s a user-level rate limit for each individual user. It’s 400 per user; 1000 per app in a 24-hour window - and you have to keep track yourself.
I think a better way to follow groups of people that share info about a topic is to use Lists: GET lists/list | Docs | Twitter Developer Platform
1 Like
GianArb
#3
Thanks a lot, one of the reason about using the friendship create is to get the people followed, is it possible via list as well?
No, you can’t follow accounts in bulk - but following lists allows you to get a timeline of a group of users without following them in bulk.
1 Like
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.