Ok, so I’m building webhook notification for the discord to notify users about:
- Stream going live,
- Streamer changing game,
- “Stream over, here is a vod” W.I.P
(All requests are authorized with both Client-ID and Authorization headers)
So here is my problem, I’m able to get a last vod by just doing
GET https://api.twitch.tv/helix/videos?user_id=xxx&first=1&type=archive
Nice and easy I got the vod, but it lacks information about game changes.
So I started looking into docs a bit more and I saw Reference | Twitch Developers but it requires me to authorize via User OAuth Token not App Access Token like every other endpoint so far.
So here is my question how do I authorize myself with no ui?
I don’t want to store all changed games with timestamps inside my app as it will be not accurate and as well not that fails safe in case of “app reset in middle of stream”.