Описание тега facebook-permissions
When a person logs into your app via Facebook Login you can access a subset of that person's data stored on Facebook. Permissions are how you ask someone if you can access that data. A person's privacy settings combined with what you ask for will determine what you can access.
Permissions are strings that are passed along with a login request or an API call.
Facebook Login allows a person to grant only a subset of permissions that you ask for to your app, except for public profile, which is always required.
Review
If your app asks for more than than public_profile
, email
and user_friends
it will require review by Facebook before your app can be used by people other than the app's developers.
The time to review your app is usually about 7 business days. Some extra-sensitive permissions, as noted below, can take up to 14 business days.
Learn more about the review process in the documentation on reviews.
Requesting Permissions
Each type of login flow has its own method of requesting permissions, depending on your platform and how you choose to integrate Facebook Login:
Web
- The Facebook JavaScript SDK uses a
scope
option with theFB.login
function call. - The Login Button uses a
scope
ordata-scope
parameter on the fb:login-button element. - A Manually Built Login Flow should add the
scope
parameter to the login dialog URL that they redirect to.
Mobile Apps
- Android Login can use a number of different classes to request and manage permissions. Please see the login tutorial for Android for more information.
- iOS Login can use a number of different methods to request permissions. Please see the login tutorial for iOS for more information.
- Windows Phone uses the
scope
parameter when launching the URI association.