-
Notifications
You must be signed in to change notification settings - Fork 51
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
Bad_auth #89
Comments
EDIT: I'm told this isn't the case, But ill leave the info here. I'm not sure what would be causing that atm. _I asked in Discord about this, But the only difference I see between the versions is the ListenToBitsEvents method is now obsolete and now is ListenToBitsEventsV2. ` [Obsolete("This topic is depreacted by Twitch. Please use ListenToBitsEventsV2()", false)] ` If you are using that old method please try the new one and if this is the cause, I will PR request the old one to be removed._ |
Looking |
So using the obsolete (v1) ListenToBits, I'm getting:
and a bunch, with assembly verification:
|
Using channel points:
|
I'm not able to recreate :( |
I was doing some bug fixing on a project using the the latest verson today as my bot wasn't receiving any rewards. I received a "bad auth" as the error when I tried to add the listener. |
Can you share the relevant code (without access tokens ofc). I can try recreating what you're getting too. |
Hi! You need the channel owner's oauth token that you want to listen to. https://dev.twitch.tv/docs/authentication#getting-tokens In my app, first Im get access token with user authorization. Use this lib And, You can ask a question in discord, they helped me there quickly https://discord.gg/8NXaEyV |
I'll post in both places, but I think (not certain) the issue here is that Twitch will only send pubsub channel point reward redemption events for channel points rewards created with the client id whos token you're using to connect to pubsub with. This means that you can't create channel points rewards through the website and then listen to them programmatically. What you'll need to do is:
Docs: Logs from me testing this functionality:
|
it looks like ListenToChannelPoints requires a channel owner token. use ListenToRewards instead. |
Hello, I am getting a bug on version 3.2.3-preview. But in 3.2.2 version is good.
It is example code from here https://github.com/JayJay1989/TwitchLib.Pubsub.Example
The text was updated successfully, but these errors were encountered: