Twitch status check in WordPress Website

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