I think it was your code I actually used! I saw that interaction with the other umm “gentleman” you handled that well.
Thank you for that original example btw, it helped me figure out a direction on how to make this work.
Do I have it correct below now?
darklytetv has <span id="followers"></span> followers
<script>
var ve = document.getElementById('followers');
setInterval(_ => {
fetch('https://api.twitch.tv/kraken/channels/116300654', {
headers: new Headers({
'Client-Id': '//',
'Accept': 'application/vnd.twitchtv.v5+json'
})
}).then(response => response.json()).then(data => {
ve.textContent = data.followers;
});
}, 10000);
</script>