How to Add Facebook Instant Games Social Features like Sharing with 2DKit

This tutorial will show you how to add social features like sharing to your Facebook Instant Games with 2DKit.

“You enable your players to share a game’s meaningful moments. The SDK call works similar to the Custom Updates call above, but instead of updating content in the current conversation, the method FBInstant.shareAsync() prompts the player to share the moment elsewhere.”

https://developers.facebook.com/docs/games/instant-games/rich-gameplay-features

With Instant Games there are many ways to enable social interaction between your players. Below you can find detailed information about each one of these features.

  1. Custom Updates
  2. Custom Sharing
  3. Connected Players
  4. Changing Contexts
  5. Game Bots

Let’s get started!