Facebook Gameroom for PC gaming is a Windows-native client available as a free download for players worldwide. Within the new Facebook Gameroom, players can experience both web games and also native games built exclusively for the platform.
Building native games for Facebook Gameroom brings many benefits for you and your players:
Only games built in Unity (version 5 or newer) and Unreal are supported.
Download and install the Unity with Facebook build support (available from 5.6 onwards):
Visit Unity Store to DownloadFor your game to be approved for Gameroom, it must:
Utilize the keyboard and/or mouse, with an in-game tutorial to explain usage.
Open links to FB Pages or external websites correctly in a browser.
Comply with the Facebook Platform Policy.
If your game is cross-platform and also available on Facebook Web, you need to detect and support the Gameroom client by detecting an additional user-agent string (e.g., FacebookCanvasDesktop [FBAN/GamesWindowsDesktopApp; FBAV/1.3.0.0]
).
Do not allow “Guest mode” for players.
Do not allow players to Log Out of Facebook within your game.
These are recommended best practices that we have compiled from top performing titles:
Utilize the Login permissions requested by your game.
Continue the player's progress on different platforms. (e.g., mobile, Facebook.com and Gameroom)
Maximize the graphics area in the Gameroom client.
Allow the player to choose between low, medium and high quality graphics.
Keep the loading time under 10 seconds.
Build a skippable and replayable tutorial with an easy learning curve.
Configure all required Permissions under App Center.
Upload all creative assets in App Center.
Promote your Gameroom page from your FB Page and website.
Check whether your game is 18+, and fill in the System Requirements.
If it’s a native Windows game, then the Facebook Unity SDK is required.
If you already use the Facebook Unity SDK for mobile games, you need to update the SDK to have Facebook Gameroom support. However, to get both mobile and Gameroom integration, you will need to configure your game manually, see sections 4-6 for details.
// show your progress indicator
FB.ShareLink(
new Uri("https://developers.facebook.com/"),
callback: ShareCallback
);
private void ShareCallback (IShareResult result) {
// hide your progress indicator
}
BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions();
buildPlayerOptions.scenes = new [] {"Assets/Scene1.unity", "Assets/Scene2.unity"};
buildPlayerOptions.locationPathName = "GameroomBuild";
buildPlayerOptions.target = BuildTarget.StandaloneWindows64;
buildPlayerOptions.targetGroup = BuildTargetGroup.Facebook;
buildPlayerOptions.options = BuildOptions.None;
BuildPipeline.BuildPlayer (buildPlayerOptions);
For more information on BuildPlayerOptions, please refer to Unity's documentation at https://docs.unity3d.com/ScriptReference/BuildPipeline.BuildPlayer.htmlYou may report any issues via our developer bug reporting tool below, with Gameroom under the following categories:
If you have Business Manager access and need support for integration issues, please report them via Direct Support. You can find out more about Direct Support via the Direct Support Information Guide.
Once your Gameroom integration is completed, please submit your game to our platform by completing the submission form.
Report Developer BugDirect Support on IntegrationSubmit your gameFor your game to show up on Gameroom, please note that the following is required: