Facebook Gaming Services SDK

您集成 Facebook 登录、Facebook 分享或 Facebook Gaming 之后,如果未禁用应用事件自动记录功能,系统将为事件管理工具自动记录和收集特定的应用事件。建议所有使用 Facebook 登录、Facebook 分享或 Facebook Gaming 的应用开发者都了解上述自动功能的运作方式。如要详细了解系统会收集哪些信息以及如何禁用应用事件自动记录功能,请参阅应用事件自动记录

Gaming Services is available as a new component in the official Facebook SDK for Android, iOS, Unity3D and JavaScript. Using Facebook official SDKs is the recommended approach and makes it easy to access services enabled by Facebook Login for Gaming including the Player Finder and Sharing for Gaming experiences.

Mimimum Supported Version by Platform

  • Android: v6.4
  • iOS: v6.4
  • Unity3D: v7.19.2 (requires Unity3D 5.4 or above)

If using or upgrading the Facebook SDK is not possible, you can use Graph API methods to build a manual flow for Player Finder and Sharing for Gaming in your application.

NEW: Limited Login

Limited Login offers a login path that implements steps designed to prevent the fact that a person used Facebook to log in to your app from being used to target advertising or measure advertising effectiveness.

How it Works

Limited Login returns an AuthenticationToken that wraps an OpenID Connect token. The ID token cannot be used to request additional data using the Graph API, such as friends, photos, or pages. Doing so requires the use of classic Facebook Login.

A successful login populates a global AuthenticationToken instance. You can provide a nonce for the login attempt that will be reflected in the return token. In addition, Limited Login populates a shared profile instance that contains the basic information including ID, name, profile picture, and email (if granted by the user).

See Also