A New Restricted Knowledge Mode
Facebook login now offers a restricted login mode that implements security measures designed to prevent a person who logs into your iOS app with Facebook from being used for targeted advertising or to measure advertising effectiveness. To implement this new version of Facebook Login, update your Facebook iOS SDK or Facebook SDK for Unity to version 9.0+.
This new version of Facebook Login supports two different modes. Your app will pass a flag to Facebook indicating which mode you have chosen for each of your users:
- The restricted login mode is based on the OpenID Connect standard and allows users to create new accounts or access existing accounts in your app while only sharing their name, profile picture and (optionally) their email address. Note that the restricted login mode uses a JSON web token that does not support Graph API queries.
- The classic login mode remains unchanged from the login product that you and your users already know and love. Users can create new accounts or access existing accounts while your app can access certain Facebook data (with Facebook consent and user consent) to improve their experience in your app. Note that classic login mode uses an oAuth 2.0 access token that supports Graph API queries.
You can choose either the same mode for all users or one of the two modes conditionally. For example, you can use classic sign-in mode for users who agree to share data for personalization of ads and restricted sign-in mode for those who decline. Note that only the restricted login mode implements the protective measures described above.
The modes are interoperable, meaning you can update a user’s mode at any time. For example, if you initially select restricted sign-in mode for a user who has declined to share data for ad personalization, but the user later agrees to share data for ad personalization to improve the usability of your app, you can use classic sign-in mode in Select a separate session later. Visit this success story to learn how a company uses social features to promote registration!
Regardless of the mode chosen, users can always control the Facebook data they have granted your app through their apps and website settings.
For more information on this new version of Facebook Login, including implementation documentation and frequently asked questions, please visit https://developers.facebook.com/docs/facebook-login/ios/limited-login.