Followed Channels are Live Script

You need to read

https://dev.twitch.tv/docs/v5/guides/migration#v3-to-v5-migration-guide

And adjust accordingly

You need to lookup how to send headers with a jQuery.getJSON request.

A quick google returns