Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this still working and/or supported? #12

Closed
goproslowyo opened this issue May 6, 2021 · 2 comments
Closed

Is this still working and/or supported? #12

goproslowyo opened this issue May 6, 2021 · 2 comments

Comments

@goproslowyo
Copy link

goproslowyo commented May 6, 2021

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
Copy link
Owner

mumixam commented May 7, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants