-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error updating friends. Aborted. #66
Comments
I have the same bug after update to v2.6.0 |
What I've been told is that this bug goes away (quickly!) after the update. Can you confirm? |
I think that is not always the case. Might be correlated with the number of On Fri, Jun 14, 2013 at 12:44 PM, Geraint Edwards
Dan Boger |
I'm still getting it frequently (every 10-20 minutes), and it's been at least 2 days since the upgrade. |
By the way, I'm following 211 people. |
I follow 162 people and have 344 followers. |
For reference, I'm not seeing the error, with 100 followed and 329 On Fri, Jun 14, 2013 at 3:10 PM, Amber Yust [email protected]:
Dan Boger |
It looks like with v1.1 of the REST API, Twitter moved to a limit of 15 /friends/list calls per 15 minutes. Each call can retrieve up to 20 users. That equates to 300 users polled per 15 minutes. The friend poll interval appears to be 600 (10 minutes) by default. So on average, if you have more than 150 people that you're following, you'll wind up seeing the error whenever two polls fall within the same 15 minute bucket. A partial fix for this would be to However, that's only a partial fix. The current API has a hard cap of 300 users per 15 minutes; anyone following more than 300 users is going to see the error no matter what poll interval they set with the current code. |
So short term would be to update the default friends poll to 15 minutes. On Fri, Jun 14, 2013 at 3:28 PM, Amber Yust [email protected]:
Dan Boger |
I believe I've increased the 20 figure that @ayust mentions to the max 200 in my repo. Can you try that? It's a general rework of paging for tweets which needs wider testing, so please put your seatbelt on (I've been running it for a few weeks, now, and not noticed any problems). |
Thought I would post this error here, just to make sure it's documented.
Thanks.
Edit: This is in v2.6.0 after upgrade to the new Twitter 1.1 API
The text was updated successfully, but these errors were encountered: