OAuth Setup - How do I set an OAuth token to use in the header?

Hello,

I’m a developer and new to Twitch. I keep getting the following error:

{“error”:“Unauthorized”,“status”:401,“message”:“Must provide a valid Client-ID or OAuth token”}

when I try to use ajax to load videos. So, how do you set up an OAuth token?

Kind regards,
Mike

Please show us the current code you are using with secrets removed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.