How to generate an OAuth token

Hey all, I am trying to follow the example here:

However, after step #1 when I run the code:

{"error":"Unauthorized","status":401,"message":"OAuth token is missing"}% 

I looked at the Docs for generating an OAuth token and it’s not clear how to do so. It would be nice if this step by step guide also walked you through getting an OAuth token given that it’s required for the example.

Authentication is covered here

There are two types of user token and one type of server to server token.

You need to determine which kind of token you want and go from there.
The token type (user/server) is often dictated by the API you wish to call.

A broadcasters subscribers will need a user token of the broadcaster
A stream status will take any kind of token

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