SilverStar07 / Twitch-EventSub-Full-Implementation

MIT License
6 stars 3 forks source link

err: getting broadcast id #1

Closed LoganCTanner closed 1 year ago

LoganCTanner commented 1 year ago

I get the following error when going to https://api.twitch.tv/helix/streams?user_login=[username]

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

SilverStar07 commented 1 year ago

That error tends to happen when the config file isn't filled in with your Twitch API information or if you're not passing the Client-Id and Authorization in the API call headers. Also, make sure to replace [username] with your channel name without the square brackets. So for me it's https://api.twitch.tv/helix/streams?user_login=sirsilverstar . Just follow the instructions in the README, and you should be sorted. Let me know if anything in the instructions needs clarification.