Hi everyone! I am currently trying to get an OAuth token to allow my bot to read any channel point redemptions so that I may automatically process custom channel point rewards.
I am using HTTPS to get the OAuth and ws to connect to pub/sub
HTTPS is currently not getting me the token in its response. I can however manually put it in a browser and it will show up for me in the URL (but I need to log in first).
WS is working properly with pub/sub so far, I can ping, and get a pong, but obviously I get stuck at the LISTEN type that requires an OAuth key
I’ve put my code in a hastebin to not pollute the post (hopefully this is allowed, if not feel free to delete the post and I’ll re-post it with the code directly in here)
Part of me is worrying that I’m going about it the wrong way / going off track for what my goal is. Any help would be greatly appreciated. (I’ve seen other posts about this topic, but I couldn’t pull any information that I could use out of them.)