Why are you using a chatbot to load the followers endpoint?
There is no endpoint to get “the last people watching a channel”
client.api({
url: "https://api.twitch.tv/kraken/channels/115307371/follows",
headers: {
"Accept": "application/vnd.twitchtv.v5+json",
"Authorization": "oauth:key",
"Client-ID": "client-id"
}
}, function(err, res, body) {
console.log(body);
});
should be
client.api({
url: "https://api.twitch.tv/kraken/channels/115307371/follows",
headers: {
"Accept": "application/vnd.twitchtv.v5+json",
"Authorization": "OAuth key",
"Client-ID": "client-id"
}
}, function(err, res, body) {
console.log(body);
});
For kraken
But you first screenshot shows the helix data model
I’m really not sure what you are trying to do here