streamlink / streamlink-twitch-gui

A multi platform Twitch.tv browser for Streamlink
https://streamlink.github.io/streamlink-twitch-gui/
MIT License
2.69k stars 202 forks source link

Followed channels menu broken (`/helix/users/follows` API endpoint removal 2023-09-06 / 2023-09-12) #979

Closed bastimeyer closed 1 year ago

bastimeyer commented 1 year ago

I wasn't aware of this, since I don't actively follow the Twitch dev forums, but apparently Twitch has deprecated the currently used helix API endpoint for accessing the followed channels (/helix/users/follows) in February this year.

The shut-down phase starts on 2023-09-06, which is today, with 2023-09-12 being the last day of the shut-down phase.


I have just received this email from them, which was the first time I've been contacted with this API endpoint removal/change:

Reminder: Deprecated "helix/users/follows" endpoint shutdown begins September 6, 2023

Hello,

We are reaching out as we have identified that your application(s) below have made requests to the deprecated "helix/users/follows" > Twitch API endpoint in the past month and may be affected by the scheduled shutdown if further action is not taken.

Streamlink Twitch GUI (phiay4sq36lfv9zu7cbqwz2ndnesfd8)

This “Get Users Follows” Twitch API endpoint was deprecated in February 2023 and replaced by “Get Channel Followers” and “Get Followed Channels.” To continue receiving follow count, receiving follower information, or checking for a follow, please make sure your application is updated to use the new API URLs and that your authentication flow includes the new scopes if required.

For more information about this update, refer to the original announcement on the developer forums below. If you have any questions, you may post a new topic in the forums or join the TwitchDev Discord server.

We also invite you to join and follow these resources to keep up-to-date on future releases, updates, and deprecations for the Twitch API.

Thank you, Twitch Developer Relations Team


I will have a look at updating as soon as I can, but this will take at least a day or two for me to fix. I won't be at home until this evening, so I can't even have a look at the code until then.

So be warned that the followed channels menu will break during the shut-down phase and won't be accessible in the current version of Streamlink Twitch GUI. Other things shouldn't be affected by this from what I know.


bastimeyer commented 1 year ago

Fixed by 0ac1b685e577c629eae0d8d1835ab53ffc0f6e16

Will keep this open until the next release has been published (soon) and a couple of days have passed.

bastimeyer commented 1 year ago

https://github.com/streamlink/streamlink-twitch-gui/releases/tag/v2.4.0

https://github.com/streamlink/streamlink-twitch-gui/releases/tag/v2.4.1