Skip to content
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

get_followers and get_following max out at 400 users #313 #314

Open
transitive-bullshit opened this issue Apr 7, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@transitive-bullshit
Copy link

Describe the bug

I'm the author of https://github.com/transitive-bullshit/clubhouse, an open source TypeScript wrapper around the Clubhouse API.

I've taken a lot of inspiration from this repo; thank you so much @grishka for your amazing work 🙏 💕 🙏

The API has a specific issue where /get_followers and /get_following only ever return up to 400 users, regardless of page_size and page. So if I set page_size to 50, I can get 10 pages but only ever access up to a total of 400 users.

To Reproduce

See related bug here: transitive-bullshit/clubhouse#2 and my code implementation here: https://github.com/transitive-bullshit/clubhouse/blob/master/packages/clubhouse-client/src/clubhouse-client.ts#L289

Expected behavior

For users with more than 400 followers, we should be able to use the clubhouse API to access all of them in a paginated fashion, with pagination working past 400 users.

Screenshots

N/A

Smartphone (please complete the following information):

  • Device: macOS
  • OS: Catalina
  • Version any

Additional context

Given your extensive use of the Clubhouse API, I figured that you've probably run into this limitation and I was wondering if you were able to work around it?

Thanks!

@transitive-bullshit transitive-bullshit added the bug Something isn't working label Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant