BenediktMagnus / OpenRCT2TwitchServer

A Twitch integration server software for OpenRCT2.
MIT License
11 stars 10 forks source link

The way to get a client ID changed #5

Open jaller94 opened 5 years ago

jaller94 commented 5 years ago

The referenced article to get a client ID is slightly outdated. Twitch moved the registration of new apps to https://dev.twitch.tv/ When logging in with a Twitch account, one can create a new app and get a client ID for the new application.

I wonder if this will require me to get an OAuth token with that new app. My server starts and says that it is connected to the Twitch API, but the stream did not go live. Are additional steps required to get the server going?

Dayjay commented 4 years ago

Did you get it to work? Imho, the server runs well. I put in the client id from the new app dashboard and the OAuth token via the twitchapps link and if I call the urls in my browser I get valid replies from the server.

http://SERVERIP:PORT/join/CHANNELNAME

{"status":200}

http://SERVERIP:PORT/channel/CHANNELNAME/messages

[
  {
    "message": "!news UserY: sdfsdfsdf"
  }
]

http://SERVERIP:PORT/channel/CHANNELNAME/audience

[
  {
    "name": "StreamerA",
    "inChat": true,
    "isFollower": false,
    "isMod": true
  },
  {
    "name": "UserY",
    "inChat": true,
    "isFollower": false,
    "isMod": false
  }
]

I compared with it with what OpenRCT2 does and I can't seem to find why it shouldn't work. OpenRCT2 does nothing ingame for me (and I enabled the Twitch integration ingame).

jaller94 commented 4 years ago

Nope, I didn't get it to work... But I also moved on. I use OBS Studio for broadcasting and recording now.

leo-proct commented 4 years ago

Hmm for some reason, my game doesn't seem to connect to my api service.

Do you know if there is a way to troubleshoot that OpenRCT2 is actually making requests?

noideaman commented 4 years ago

Having the same issues, got the tmi oauth code for twitch chat got the client id for the dev app, webpage shows error 500

noideaman commented 4 years ago

This is just poping up non-stop now.

Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch. Error: No response from Twitch.

leo-proct commented 4 years ago

turns out that the current version of OpenRCT has the twitch integration broken, Reverting to the previous version fixed my issue

noideaman commented 4 years ago

Downgrading did not work for me, it still error 500's in the web browser running the join command