V3 Get Channel Followers Replacement in Helix?

Since this is deprecated how do I get all followers of a channel now?

Helix has the Get Users Follows endpoint.

to_id doesn’t work with game IDs.
from_id doesn’t show game IDs either.
In fact, nothing in what you listed does anything with game channels as far as I can tell. What am I missing?

You never mentioned you wanted to see who is following a game. In which case you can’t do that with Helix.

Sorry I thought that was implied by the get channel followers endpoint.

Why did they remove this and is there a work around?

Well the Get Channel Followers endpoint implies you’re after users, since that’s the name of the endpoint, and the fact that the documentation for Get Channel Followers says Gets a list of users who follow a specified channel.

As for a workaround, there’s no workaround using Helix endpoints. If you want to use v5 you can continue to do so for the time being but it’s deprecated and will be removed at some point in the future.

Being able to see what games a user followers, or what users follow a game, may be included in Helix at some point in the future, or it may be a design choice to no longer support that functionality.

Thanks, I’m a little confused because this endpoint says it’s from v5 and v5 says it hasn’t been deprecated yet, but the message I get returned is:

“error”: “Gone”,
“status”: 410,
“message”: “v3 is a lie but v5 is still alive. See https://dev.twitch.tv/docs

Did you set the v5 header correctly?

https://dev.twitch.tv/docs/v5/guides/migration

curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-X GET https://api.twitch.tv/kraken/streams/

v5 is deprecated, it just hasn’t been removed yet.

The default version when making a request is v3, so you need to follow the migration guide that Barry linked and correctly send the v5 header if you wish to use the v5 API.

Doh. No I didn’t set the header properly.

1 Like

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