I’m wondering if somebody could explain me the results of following http request. As you can see I’m trying to retrieve the clips for a certain user. The problem is that I’m recieving clips from streamers which I’m not in “followed” state with.
Second problem, this retrieves 100 clips, and with every refresh the results change. This goes on for some refreshes untill the clips start re-occuring. What am I missing?
var httpRequest = new XMLHttpRequest(); httpRequest.addEventListener('load', clipsLoaded); httpRequest.open('GET', 'https://api.twitch.tv/kraken/clips/followed?limit=100&offset=0'); httpRequest.setRequestHeader('Client-ID', '[snip]'); httpRequest.setRequestHeader('Authorization', 'OAuth ' + access_token); httpRequest.setRequestHeader('Accept', 'application/vnd.twitchtv.v5+json'); httpRequest.send(); console.log(access_token);