-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error: Request failed with status code 401 #3
Comments
did you find a fix for that? |
Since May 1, 2020 all Helix api request require use of OAuth. Read more here https://discuss.dev.twitch.tv/t/requiring-oauth-for-helix-twitch-api-endpoints/23916 . So you need modify script (dist\include\idler.js) to provide Bearer token for each API request.
Then for each API calls
And finaly in your config.json
|
I'm having issues still, can u tell me what specific var refers to? |
userAuth - Oauth token from Twitch Chat OAuth Password Generator token - Token generated especially to your clientId. Read more here. Example url to get app token:
|
Did u modify dist\include\idler.js like i describe above? |
Yes but the idler.js keeps reseting to the normal code when i run build |
Hey guys!
I will take a look at this on the weekend, I have my finals starting
tomorrow.
If you already managed to fix it yourself, feel free to open a pull
request, I will then review and merge it. :)
…On Wed, 27 May 2020 at 19:46, DocksDocks ***@***.***> wrote:
Yes but the idler.js keeps reseting to the normal code when i run build
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG46OZXZQRGQUAWGTDJIS7LRTVGY5ANCNFSM4NACO3EA>
.
|
got it to work, ty for the help @iFrez |
I modified config and idles.js as described above but instead of 401 error now I get 400. Could twitch api changed again? DEBUG | Received following channels |
Hey guys, thought I'd update you on this. I was/am thinking about rewriting this project to work with the Twitch channel points. This project was started when channel points weren't a thing yet and it does not work to farm channel points. Getting this to work with channel points would require some more investigation on how they work exactly, but after looking into it a while ago, I came to the conclusion that you can only farm channel points in one stream at a time (or at least get chests in one stream at a time). I may update this project in the future if there are enough requests. |
Marking this as "help wanted" if someone of you guys wants to do some more in-depth investigations on how channel points work. We could maybe even implement some automatic predictions and stuff. |
@4Dams channel points uses combination of WebSocket and OpenGraph API. Example request: |
Not sure how recent that is but: The file should be
If you change the .ts file, you should get away running Edit: Just realised that iFrez has a work with the exact changes required. |
Hello, since yesterday I get an error, everything worked well before!
The text was updated successfully, but these errors were encountered: