Request Timeout

Hi !
Thanks for reply. it’s PUT method.

But i find a trick . I modified twitch.js like that :
var REQUEST_TIMEOUT = 5000; —> var REQUEST_TIMEOUT = 15000; // SO I have NO timeout

But twitch.api still make GET instead PUT so I change twitch.api like that :

Twitch.api = function (options, callback) {
...
$.ajax({
            url: url + '?' + $.param(params),
            dataType: 'json',  // I change jsonp to json (I don't know why but with jsonp it doesn't work)
            timeout: REQUEST_TIMEOUT,
            method: params._method  // I put there directly the method, this line doesn't exist in the origin file
        })
...

And now my follow button works like a charm. I don’t know if it’s the good way if someone have a better solution