vinszent / gnome-twitch

Enjoy Twitch on your GNU/Linux desktop
http://gnome-twitch.vinszent.com
Other
440 stars 41 forks source link

Twitch API Changes #395

Open Stapleton opened 4 years ago

Stapleton commented 4 years ago

I am hoping to draw some attention to this. I don't have any knowledge in C++, but I do know the problem of why the app is currently useless. My solution will solve #393, #390, and any other issues having to do with authentication.

Twitch has been in the process of API changes for the past 3 years. From deprecating and removing v3 on September 12th, 2019. Deprecating v5 in November of 2018, and there being an API that is continuously being worked on and endpoints added to when v3 was deprecated in 2016 or 2017.

This app will not work unless its updated to work on the Helix API. Do not expect a workaround, or any other alternative to work if its still using v5 and old endpoints.

The key thing to fix the authentication is that the endpoint is no longer at https://api.twitch.tv/kraken its located on https://id.twitch.tv/, but its no longer using query strings, it uses headers, so that also means how auth is done might also need to be changed to match.