Hello, I am a self thought coder/programmer that’s looking to learn about the Twitch API. I’d like to show in blogger a vertical list of streams, from top to bottom based on their stream staus and viewer count. I’ve made a bunch of tests but I’ve failed miserably since most of the things I’ve tried are based on old posts I found on forums. How do you recommend I do this? Thanks in advance
With blogger I believe due to the Helix oAuth changes this is no longer possible, as you have no serve componenet.
You would need to generate an App Access Token server side
And then call the streams you want to look up
https://api.twitch.tv/helix/streams?user_id=112&user_id=113
Called with the headers
curl -H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-H 'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y' \
-X GET 'https://api.twitch.tv/helix/streams?user_id=112&user_id=113'
For example, but I don’t use Blogger I don’t think it has a server in order to generate and protect said oAuth token
Hi @BarryCarlyon - Thanks for the advice, I’ll look into the links tonight for sure. Will update this post soon with the outcome.
regards,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.