Hey,
today I started programming with the Twitch API and thankfully I saw, that Kraken gets outdated in the end of this year and that developers should use the new Helix Version.
I worked a bit with Kraken, was able to get access to and find the values that I need from the API, but now with Helix, I neither get access nor can I find the data I want to use.
For Authorization, I used OAuth Implicit Code Flow and in the Helix Documentation it states, that this is still working now. But when I use the OAuth Token I get via. https://api.twitch.tv/kraken/oauth2/authorize?client_id=<<clientId>&redirect_uri=http://localhost&response_type=token
, it says it is not valid. Do I really have to “manipulate” the request header? And why kraken, when it’ll get removed “soon”?
Another little question would be where to update the user game or title? I just found how to change the description of a user.
In the V5-API, it was shown: https://dev.twitch.tv/docs/v5/reference/channels#update-channel
What value for Accept would be necessary to make it work? (I guess the Authorize Value is Authorization: Bearer <access token>
.)
Kind regards,
DMan