Followers API - Embed on website

There are a few things wrong here…

  1. v5 uses IDs, not names, the URL should be .../channels/116300654 for v5 channels endpoint
  2. channels response doesn’t contain a stream, that’d be .../streams/116300654.

You can use https://api.twitch.tv/kraken/channels/116300654 and access via data.followers in your code.

You won’t get new data every 10 seconds though, so I’d change the interval to a few minutes.

1 Like