cancel
Showing results for 
Search instead for 
Did you mean: 

[Networked Rooms] How to create a moderated room accepting users from Go/Rift or Quest app together?

BaptisteGr
Protege
Hello,

We are adding a social layer on our app that is already available on the Go and Rift and possibly on Quest later this year and our goal is to get users from the different headsets to be connected in the same room.

We created a moderated room because it seemed to be the best choice for our use case but our issue is that since each moderated room is connected to a specific app id it seems impossible for example to get users from the Go to connect to the moderated room that we created with the Rift app id.

Can anyone from Oculus point me to the best solution to achieve what we are looking for?

Thank you for your help!

Baptiste
5 REPLIES 5

Ross_Beef
Heroic Explorer
Hey there. Not really the domain of avatars sdk (there's a platform SDK group for these type of issues), however, I believe what you're looking for is the 'app grouping' functionality. What this does is enable a super-group across your disparate app IDs (each of which wraps the users' ID into a different hash), within which you can then network 'across app' (really across hardware/store platforms).

You can set up app groupings from the organization settings page, here:
https://dashboard.oculus.com/organizations/<your-org-ID>/app-groupings/

BaptisteGr
Protege
Thank you for your quick response @Ross_Beef - we already setup our app grouping but when creating our moderated room we must use the specific id of our app (in the $APP_ACCESSTOKEN):
$ curl -d 'access_token=$APP_ACCESSTOKEN'  -d 'max_users=MY_MAX_USER_COUNT'
https://graph.oculus.com/room_moderated_create
So which id should we use while creating the moderated room to make sure players from the Go and Rift can join it?

Ross_Beef
Heroic Explorer
Have you tried using the app grouping ID and the user ID returned at the app grouping level?

BaptisteGr
Protege
Yes, it returns the following error:

{"error":{"message":"Error validating application","type":"OAuthException","code":190,"fbtrace_id":"DlYzpc5iSLd"}


The APP_ACCESSTOKEN is composed of the app id and the app secret token that can be generated on the dashboard. Can we generate a secrete token for an app grouping as well?

BaptisteGr
Protege
So it seems we fixed our issue. Apparently once you group apps together, a moderated room created with the app id of the Rift will be open too all of the apps from the grouping.

We need a few more tests to make sure of this but it seems to be working for now 🙂