Get many users follows

Hello. Now i use “https://api.twitch.tv/kraken/users/NAME/follows/channels?client_id=y6d7ucm76cfva9jokjgdbl1os10979” for get number(i need only total) follows. But i so slow, if i need get 1000+users. Isset more fast method, which return some users follows?

The only way to increase the rate is to set the limit to the max, 100. You’ll still need to loop through each page to get every follow.

on https://api.twitch.tv/kraken/users/NAME/follows/channels?client_id=y6d7ucm76cfva9jokjgdbl1os10979

[follows][_total] would give you the total number of channels that NAME is following.

If you wanted the total number of people following NAME, you’d want:

https://api.twitch.tv/kraken/channels/NAME/follows?client_id=y6d7ucm76cfva9jokjgdbl1os10979

[_total]

Exaple: I have channel and 3 followers on my channel: john, pitt, sam. I need get number follows each my follows: John follow 10 channels, Pitt follow 20 channels, Sam follow 30 channels. Now i use 3 get request

https://api.twitch.tv/kraken/users/john/follows/channels?client_id=
https://api.twitch.tv/kraken/users/pitt/follows/channels?client_id=
https://api.twitch.tv/kraken/users/sam/follows/channels?client_id=

Can i use 1 request for get 3 results?

If you want to get how many channels a user is following, it needs to be done one request per channel, unfortunately.

As a side note, be sure to read the response from Dallas regarding a user performing a similar lookup and the Twitch Developer Agreement:

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