Meschiany
Meschiany

Reputation: 215

Newly requested permissions in app settings are not reflected in the app itself

Recently i realized that i need more than basic information for my facebook application. I need the user's birthday as well.

In my App permissions configuration i added "user_birthday" and by checking the example given by facebook the permission was added successfully. (goes without saying that i clicked "Save changes")

when im trying to log in to my application the "user_birthday" does not appear. (after waiting several minutes and another 24H)

any ideas what else do i need to configure in facebook?

Upvotes: 0

Views: 1678

Answers (2)

codingjoe
codingjoe

Reputation: 1257

I think what you're missing out the fact that the permission scope is by default not set on facebook's development plattform. It's usually done though the login link.

If you want every user to be prompted for certain permissions you need to enable "authenticated referrals" as described here.

All SDK's allow a scope parameter for the login link. You can add the scope manually to every link using a scope parameter, like so:

https://graph.facebook.com/oauth/access_token?
    client_id=YOUR_APP_ID
   &redirect_uri=YOUR_REDIRECT_URI
   &client_secret=YOUR_APP_SECRET
   &code=CODE_GENERATED_BY_FACEBOOK
   &scope=user_about_me,user_birthday

Upvotes: 0

C3roe
C3roe

Reputation: 96414

when im trying to log in to my application the "user_birthday" does not appear.

Are you triggering the login from within your app’s code yourself?

In my App permissions configuration i added "user_birthday"

These settings are for Authenticated Referrals only. Unless your login is triggered by those, these settings will have no effect.

If you are triggering login yourself, you have to request the permission via the scope parameter.

Upvotes: 3

Related Questions