Login authentication failed
JuniorGamingTime opened this issue · 12 comments
Trying to login to my twitch bot account and cant login.
i disabled 2 step verification as well and still cant log in, is there something im missing?
Using Node-red version 0.20.7
Hi, are you using your regular password or are you using your oauth token? using your regular password is not allowed on the twitch api even if they call it "password", so you need to get an oauth token, you can easily get one from here: https://twitchapps.com/tmi/
make sure to prepend oauth: to the begining so it reads "oauth:xkldsajsdfkl"
I personally still use it, I do have a list of improvements but nothing compelling enough for me to prioritize over other things so I haven't updated it recently. If you find any bugs or anything just let me know.
yeah no problem
Is there a way to test say the Follower and sub notifications coming in?
not really, everything is based off tmi.js but even on the site's dev docs you can't really see the data structure. In order to be able to see the structure and to test your flows, what I do is record everything, all events, you can then replay them from there. I mean you would need to setup something yourself but no that hard, then you can simply simulate the output and inject it into your flow.
I think I was using mongodb before but I switched to rethinkdb to store all events, but you can basically use anything you want, mongodb would be faster, and depending on your specs an in memory key pair store (like redis) would be even faster.
Also a faster easier way that I was doing before is simply send the output to a debug node, and as long as you have node-red open you should be able to go back and copy paste the payload into an inject node.
Ok cool I already have a Streamlabs thing working with lights but I just wanted more control.
I'm still really new to nodered but I'll look into the ones you suggested.
Thanks alot
no problem.
Also by any chance do you have like a list that has a bit more info of what each node its capable off?
All nodes correspond to tmi.js functions, so you can use their docs. There are links pointing to the corresponding tmi.js docs link, so you can easily click on the node and you should see a link on the sidebar "[ tmi.js doc entry ]", just click it and it will take you to the docs page with a more detailed description on what you can do with it.
is the tmijs.org site down for you too? If it is you will need too check their docs on GitHub