Include follow count in /helix/users
Add follow count to /helix/users endpoint. This data is accessible via /helix/users/follows, but would require an additional call.
The extra calls needed to just grab the total are timing out my serverless cloud functions when ran on channels with big user lists. I am trying to sort a channels followers by their own follows, since I can't batch up requests, it is taking a long time to call all the API calls.
Just to throw my cents into this one, having the follower count in the users response would be extremely useful and would save a huge number of additional API requests.
For example, if you wanted to show a list of channels within a team, you'd now need to make a request per channel when previously you could do this in a single action.
it would be awesome to see that!
Wow, it really should be added already, very useful
Hope to see it asap
I'd love to see follows number in the users API endpoint (https://dev.twitch.tv/docs/api/reference#get-users), but if this is not complicated it would be great to have it also in Streams API response( https://dev.twitch.tv/docs/api/reference#get-streams).
Such improvement will decrease additional API calls, so its a win-win for developers and for API too :-)
I agree with this.
Also calling to /helix/users means you request more than one ID at a time unlike /helix/users/follows which only accepts one user per request and so gets quickly rate limited