Streams followed api returning 401 unauthorised

You need to use a flow that grants a User Access Token as per the table on Authentication | Twitch Developers

usually:

OAuth Authorization Code Flow