Questions tagged [facebook-permissions]

Permissions to access Facebook pages or API.

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

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.

References

143 questions
25
votes
2 answers

Downside to always using auth_type="rerequest" in Facebook login button (for required permissions)?

I've got a Facebook login implementation (for a website, using the javascript API) for which I want the "email" permission to be required. When the user first logs in, they may deny this permission - which is easy enough to detect by a subsequent…
15
votes
5 answers

Facebook app is Public, but gives error "App not setup" when logging in

I have an Android app using Facebook to login. The app is already public: When trying to login via Facebook, I get this exception: com.facebook.FacebookAuthorizationException: App Not Setup: This app is still in development mode, and you don't have…
10
votes
2 answers

Facebook Login Permission for testing the app before submitting for review?

I am trying to get some login permission from the user in my facebook app. Facebook asks the developer to send their app for review before giving any extra permissions to the developer. For this, it seems that you have to complete the app and it is…
user3806613
  • 510
  • 2
  • 9
  • 25
9
votes
1 answer

Getting "Error validating access token" from Facebook for some users

I'm getting the following error from Facebook when trying to post to a users stream. Error validating access token: The session has been invalidated because the user has changed the password or because auth.expireSession was called. The workflow is…
8
votes
0 answers

Getting "Invalid Scopes: publish_actions" error when requesting for publish_actions permission of Facebook on Android

I'm simply trying to get the user permission after the user has successfully logged in to share posts on Facebook using the code: LoginManager.getInstance().logInWithPublishPermissions(this, Arrays.asList("publish_actions")) And…
8
votes
1 answer

What format does Facebook api return as "birthday"

According to Facebook docs requesting birthday data is done by requesting user_birthday permission set and then the birthday string is stored under birthday in the return array. What format does it return in, and does the format vary according to…
Gordon Casper
  • 813
  • 3
  • 12
  • 23
6
votes
3 answers

FB is not defined in Facebook Login

I have the following code but the FB.login gives a FB is not defined javascript error. What am I missing?