One more important question... Using the following code, I can check if a user is following a channel:
Twitch.api({method: 'users/'+user+'/follows/channels/'+channel}, function...
That of course is a GET... in order to have someone click a button and follow the channel, I have to use the same method, with a PUT. How would I do this with the JS SDK?
I also have more questions, which I have explained in more detail here:
http://discuss.dev.twitch.tv/t/twitch-tv-js-sdk-not-retaining-session-grant/552