Worried about Review Process

That’s what I originally wanted to do, but the unfortunate thing is that the game is run on the streamer’s device. The extension is obviously run on the viewer’s device.

Let’s use myself as an example. I stream using my app, and it creates a multiplayer room called “and4d”. You then go to my channel as a viewer, and load up the extension. In a perfect situation, the extension would simply join the room “and4d”… but the problem is that the extension doesn’t know the name of the streamer, so it doesn’t know which room to connect to.

The two programs can not contact one another until I know both the ChannelID and the UserID (for grabbing the correct data from the database).

However… you’re probably correct. If the onAuthorized callback confirms the ChannelID, I could just have the code join that room, and then send the OpaqueID to the application, which can then return the actual ID, seeing as I already have a bearer token, etc generated in that program.

Now… doing that is another problem :sweat_smile:

*EDIT - However, having said that, when a user joins a room, they need to provide a name… which at the moment is their Twitch Alias… so that won’t work :frowning:

Yup. Name a 2D game and I can build it without much hassle… but this has seriously thrown me through a loop :rofl:

Ideally I’d just need an onAuthorized event which triggers an AJAX action contacting my backend.js hosted on my site, but I’m brand new to Javascript, so figuring out how to get it to work well with my programming software is a bit of a challenge… to say the least :slight_smile: