clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

Twitch : Register Application #45

Closed RamblingGeekUK closed 5 years ago

RamblingGeekUK commented 5 years ago

image

Should this be set to localhost? Does it need a port?

IAmFletcher commented 5 years ago

You can just leave it at localhost if you're just using it for the Code Highlighter.

RamblingGeekUK commented 5 years ago

Thats what I thought... still didn't work.

IAmFletcher commented 5 years ago

Have you gone through the steps on the README? Or is the issue with registering the application?

RamblingGeekUK commented 5 years ago

Yeah ... Twice... without the Channel name, it connects but doesn't work, with the channel name it doesn't connect and the bot never posts to the chat to say its connected. :-)

IAmFletcher commented 5 years ago

Yeah, you need to specify the channel name so it knows which channel to join and read messages from.

To double check: 1) You copied the Client ID NOT the Client Secret? 2) You copied the full OAuth token with the OAuth: in front? 3) You're joining the same channel you put in the channels option? 4) You're on version 0.1.2 or higher?

IAmFletcher commented 5 years ago

It seems I am having the same issue connecting, despite it working previously. You may have it set-up fine, and it's just a case of Twitch's end, even though their API and Chat look to be stable...

RamblingGeekUK commented 5 years ago

yeah very strange. Happy to stream it... if that helps. Thanks for looking into it.

IAmFletcher commented 5 years ago

No worries! And for the moment, I think it may be broken for everyone. Getting confirmation from others now. Once it starts working again for someone, I'll respond here and get you to test it. If it's still not working for you then, we can try to diagnose the issue on stream. 👍

clarkio commented 5 years ago

I'm working on updating the instructions and how people should set up the twitch connection part. I'll have something out soon.

The quick answer is you don't need to create an app and therefore don't need a client id or password. Instead just generate an OAuth token with either your own account or a separate account here http://www.twitchapps.com/tmi. Set that as your password and you should be good to go.

I'm running through the steps a few times from a clean slate to double check but let me know if you all run into issue with that as well.

RamblingGeekUK commented 5 years ago

Awesome. OK. Will give it try. Thanks for the update.

RamblingGeekUK commented 5 years ago

Ok. So I have tried this. I removed Client ID from VS Code and used the OAuth Password with and without the "oauth" and it prompts for twitch client ID which I think your saying is not required.

clarkio-th

clarkio commented 5 years ago

Yea you can put anything you want there for now so just put something like "1" to make it happy and then move on to the password. I'm removing that in the PR I shared in Discord which I plan to release once tested/validated.

clarkio commented 5 years ago

The Client Id and therefore creating an app with Twitch Dev is no longer needed in the 0.1.3 release.