Hi,
I’d like to know how I can increase the rate limit on the API GET request sent for Twitter follower accounts.
You can’t increase the rate limit but you can try using https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids to get 5000 ids in every call, and get user objects in bulk with https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup
you can use https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-list if the number of followers for an account is low, that endpoint gets you 200 users in 1 call.
You can also use both the App Only auth https://developer.twitter.com/en/docs/basics/authentication/oauth-2-0/application-only (with bearer token) and User Auth (with access token). Those are separate limits you can combine.
You can decide what endpoint to call based on some logic you feel is appropriate for your task - also remember that followers are returned in roughly reverse chronological order, when updating, the new ones are always first - hope that helps!
1 Like
system
closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.