-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Description
Hi,
I'm trying to get all Followers Id's of a "big" account. Twitter limits 5K results per page (pagination) every 15 min. So I tried to set EnableThrottling with:
api := anaconda.NewTwitterApiWithCredentials(AT, ATS, CK, CS)
api.EnableThrottling(duration, 1)
When I call GetFollowersIdsAll I though that internally even that is just one query that I'm making it would apply EnableThrottling.
result := api.GetFollowersIdsAll(v)
for id := range result {
fmt.Println(id)
}
It does not. It follows the pagination so when It has to load the second part It gets the error "Rate limit exceded".
returned status 429, {"errors":[{"message":"Rate limit exceeded","code":88}]}}
Was this a misunderstanding of EnableThrottling usage or there is another aproach for this?
Thanks!
mtgto and alexellis
Metadata
Metadata
Assignees
Labels
No labels