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

Getting followers total count #59

Closed
Xilver266 opened this issue Sep 12, 2019 · 1 comment
Closed

Getting followers total count #59

Xilver266 opened this issue Sep 12, 2019 · 1 comment
Labels

Comments

@Xilver266
Copy link

Hey,

Is there any way to get the followers total count of a stream? I was looking for that but only found the count of users that the streamer follow.

@d-fischer
Copy link
Member

It would be something like this:

const follows = client.helix.users.getFollowsPaginated({followedUser: USER_ID});
const totalFollowerCount = await follows.getTotalCount();

If you have further questions, please join the Discord server. Keep this issue tracker for when you're sure a feature is missing or a bug is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants