Twitch API [online&ofline stream]

Hello.I create a plugin for Google Chrome. I have almost done but… I have problem with connect Twitch Api and Javascript.
Plug for google chrome will notify person about the start my Stream. I saw all the topics in this forum but none had not helped me.
PS. Sorry for my bad English.

What problem are you having? Are you looking to see if your stream is online offline? There are a ton of threads about this if so.

I know I’ve seen most of these topics.
For example:

$.getJSON("https://api.twitch.tv/kraken/streams/pago3?callback=?") .done(function(data) {
    if(data.stream) {
        document.write("online");  
    } else {
        document.write("offline");  
    }
});

So it’s doesnt work and i don’t know why. :confused:

In that particular case, you’re not sending a Client-ID as required.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.