# Inaccurate number of followers

**URL:** <https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440>\
**Category:** API\
**Created:** [May 22, 2017, 3:44pm UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440 "2017-05-22T15:44:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vilaureu](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/vilaureu/32/4784_2.png) [@vilaureu](https://discuss.dev.twitch.com/u/vilaureu)\
**Post date:** [May 22, 2017, 3:44pm UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440/1 "2017-05-22T15:44:56Z")

</div>

When using the API to request a list of all followers I am **not getting the right number of followers**.

I request: _[https://api.twitch.tv/kraken/channels/channelID/follows](https://api.twitch.tv/kraken/channels/channelID/follows)_  
Therefore I am using the cursor and a _limit_ of **100**.  
Using this method i make a number of requests until I have all followers.

But now the count of the followers I have requested is **2 less** than the number in \__total_.

The reason is that I get two times **only 99 follower per request**.

---

<div class="post-metadata">

**Author:** ![swiftyspiffy](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/swiftyspiffy/32/1279_2.png) [@swiftyspiffy](https://discuss.dev.twitch.com/u/swiftyspiffy)\
**Post date:** [May 23, 2017, 4:56am UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440/2 "2017-05-23T04:56:21Z")

</div>

I just performed a number of channel follows requests with limit of 100. Got 100 back everytime with the exception of the last request which topped off the follower count. Additionally, the follower count had changed in the time I was fetching all of the followers due to new followers. Perhaps one of these is causing your problem?

---

<div class="post-metadata">

**Author:** ![xangold](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xangold/32/527_2.png) [@xangold](https://discuss.dev.twitch.com/u/xangold)\
**Post date:** [May 23, 2017, 5:37am UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440/3 "2017-05-23T05:37:31Z")

</div>

What is your user ID or login? If you receive or lose a follower during the request, the counts might be off. This is due to a common issue with REST APIs and offsets: [http://blog.vermorel.com/journal/2015/5/8/nearly-all-web-apis-get-paging-wrong.html](http://blog.vermorel.com/journal/2015/5/8/nearly-all-web-apis-get-paging-wrong.html) (hint: we got it wrong too)

---

<div class="post-metadata">

**Author:** ![vilaureu](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/vilaureu/32/4784_2.png) [@vilaureu](https://discuss.dev.twitch.com/u/vilaureu)\
**Post date:** [May 23, 2017, 4:36pm UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440/4 "2017-05-23T16:36:56Z")

</div>

The problem occurs when I am requesting the followers of the streamer _deraphin_. No other user is affected _(afaik)_.  
I am continuously getting two followers less than the total number: _2,682 instead of 2,684_  
This happens **all the time** by **every request**. I have tested this today and four days ago.  
So this is **not** a problem of changing followers while requesting.  
Additionally, I am not using the offset at all. I am using **only the cursor**.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [June 22, 2017, 4:36pm UTC](https://discuss.dev.twitch.com/t/inaccurate-number-of-followers/10440/5 "2017-06-22T16:36:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
