mumixam / weechat-twitch

Checks status of streams using twitch api
31 stars 9 forks source link

Is this still working and/or supported? #12

Closed goproslowyo closed 3 years ago

goproslowyo commented 3 years ago

Setup with a fresh compilation of weechat 3.1 and the latest version of the script in github and I am unable to get the script to auth to the Twitch API despite the client_id and token being both set and equal values. Here's the error response from the API:

twitch.py: Error with twitch API (data key missing from json)
twitch.py: {"error":"Unauthorized","status":401,"message":"Client ID and OAuth token do not match"}

Here's a screenshot the the settings too: image

EDIT: I have also tried regenerating new tokens to no avail.

mumixam commented 3 years ago

Yes it still works fine for me.

the client_id and the token are not the same. The error messages means that you have to use the app's client_id that generated the oauth token (or that your token is invalid) your token is the same thing used as the server password but with "oauth:" removed

you can use my token generator. here is the link https://mumixam.github.io/weechat_twitch/

goproslowyo commented 3 years ago

Appreciate the quick follow up. User error indeed and all if well. Did not find your credential generation tool the first time around :) Thanks!