Professional Documents
Culture Documents
External Developer Doc Private Play Play Style API
External Developer Doc Private Play Play Style API
External Developer Doc Private Play Play Style API
In Play, we’re continuing our focus on making 1:1 and group social play experiences as clear and
compelling as possible. This includes building features to better support gameplay in chat
threads, like a game list in our chat thread composers and support for Private Tournaments,
both of which will be powered by more compelling XMA layouts. For more on Private
Tournaments, please check in with your SPM for that document.
The most important thing with messaging-based play is enabling people to play socially, but
privately, rather than encouraging them to play with everyone else on Facebook.
In the game list for 1:1 threads, we’ll focus on turn-based games. In the group thread game list,
we’re starting with competitive score-based games (Private Tournaments) but expect to
expand to real-time games as well.
The games we include in these lists will depend on their retention/popularity, production
quality and how well they support private game experiences. We expect to update these lists as
we learn which games and implementations add the most value for players.
To make the experience of playing in chat threads awesome, we’d like developers to help us
make chat-based play as clear and compelling as possible. Your SPM will share more about the
best practices as they evolve, but for now we need to ensure that if your game is being
launched from a message thread, that it’s grouping the right people together and sending a
Custom Update to the thread.
Current Implementation
Launching a game from the Messenger game list automatically puts users in a context with the
other people in the thread, but the game does not know that players expect to be playing
privately. By introducing new APIs, we can help deliver on player expectations for private play.
Today, you can detect when your game is being played in Messenger
You might want to do this if you need to provide a different experience for these launch
entrypoints, but we are planning to replace this with a more nuanced API (more info to come).
1. Call FBInstant.getEntryPointAsync(). If the API returns
a. messenger_game_list then the game was launch from the game list
b. admin_message then the game was launched from an XMA
Coming soon: Get more information about how players are expecting to play together.
We will be supporting different game types in different game lists and threads in the
Messenger composer. In some cases, a game only supports one gameplay mode and will do the
right thing, but some games support tournaments AND real-time AND turn-based play. We’re
adding a new API, so developers understand which gameplay experience people are expecting.
Not in use yet We’d love to hear if these would be useful for your game.