Show stream on/off on HTML page

Yes, I mistyped it when transcribing it to the forum. Sadly, that’s not the problem. I was using an old application, so I created a new one, but it’s still not working. If it helps, here is the error I get from the Twitch API:

{“error”:“Unauthorized”,“status”:401,“message”:“OAuth token is missing”}

Thanks for your reply, though.