Rate limit exceeded on large lists of followers

Open
#263 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
api, cli

Research direction

Start by locating the followers command and the pagination/API request handling, then reproduce the behavior with an account having many followers. Done means the command handles rate limiting by waiting 15 minutes and continues until it produces the follower output.

Written by the indexing model from the issue text.

Description

bug

When running the "followers" command on a user with a lot of followers the rate limit is exceeded, probably because of pagination causing multiple API calls. I would prefer if the command just waited the 15 minutes and then continued to run. As is, I don't get any output at all.

Noticed this on a user with ~20k followers.

Dominant language
Ruby
Stars
5.6k
Forks
402
Avg merge
13h 50m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sferik/x-cli

All issues in sferik/x-cli

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.