# Problem with fetching all followers of a channel using Twitch API

**URL:** <https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194>\
**Category:** API\
**Created:** [December 19, 2015, 7:33pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194 "2015-12-19T19:33:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NomsyNom](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/nomsynom/32/1033_2.png) [@NomsyNom](https://staging-discuss.dev.twitch.com/u/NomsyNom)\
**Post date:** [December 19, 2015, 7:33pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/1 "2015-12-19T19:33:08Z")

</div>

Hi, I recently made a simple program to fetch all the followers in a given channel. I was able to do so using getJson and then retrieving the next 100 followers using \_link.next.

Everything works fine and my page starts to display all the names 100 at a time. But before I am able to display all the followers in a channel. At about 60,000 usernames the program stops without any error message.

Does anyone know if this is a problem with the Twitch servers or is it most likely on my side?

---

<div class="post-metadata">

**Author:** ![sam\_jones](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sam\_jones](https://staging-discuss.dev.twitch.com/u/sam_jones)\
**Post date:** [December 19, 2015, 9:24pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/2 "2015-12-19T21:24:29Z")

</div>

i think you may be hitting the limitations on the request…

reference :  
[https://github.com/justintv/Twitch-API/blob/master/v3\_resources/follows.md](https://github.com/justintv/Twitch-API/blob/master/v3_resources/follows.md)

---

<div class="post-metadata">

**Author:** ![NomsyNom](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/nomsynom/32/1033_2.png) [@NomsyNom](https://staging-discuss.dev.twitch.com/u/NomsyNom)\
**Post date:** [December 19, 2015, 11:11pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/3 "2015-12-19T23:11:01Z")

</div>

Please excuse my ignorance. Where do I go on that page to check the resource limits. Sorry.

---

<div class="post-metadata">

**Author:** ![sam\_jones](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sam\_jones](https://staging-discuss.dev.twitch.com/u/sam_jones)\
**Post date:** [December 22, 2015, 2:21am UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/4 "2015-12-22T02:21:31Z")

</div>

when you click on the Endpoint you are trying to use in the parameters box some will have a ‘limit’ parameter. but i could be wrong.

---

<div class="post-metadata">

**Author:** ![Fugiman](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/fugiman/32/108_2.png) [@Fugiman](https://staging-discuss.dev.twitch.com/u/Fugiman)\
**Post date:** [December 22, 2015, 6:49pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/5 "2015-12-22T18:49:48Z")

</div>

`_links.next` will use the cursor which should support loading all the usernames without issue. My guess is that your program is running into some sort of issue. I’d need more information to debug further.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [January 21, 2016, 6:49pm UTC](https://staging-discuss.dev.twitch.com/t/problem-with-fetching-all-followers-of-a-channel-using-twitch-api/4194/6 "2016-01-21T18:49:50Z")

</div>

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