Twitch status check in WordPress Website

Hello, I’m trying to set up a dynamic display on my wordpress site, in order to display some streamers according to their status (online/offline)

Imgur

This is what I would like it to look like (it is a static panel made in CSS, the online and offline display is not dynamic)

Has anyone here tried this and could share with me how they managed to extract only the status of a streamer in JS?

I’ve had help answers before but never found the solution…

You can’t do it in pure JS without asking the visiting user to login with Twitch in order to get an access token to call the API with

As I wrote here

You’ll need to write some PHP code to do the App Access Token generation and stream status lookup

Then you can pass that information to your Wordpress page generation

1 Like

I’m too bad at development to be able to figure out how to do it.

I will try to find the solution by myself anyway, thanks for your help.