Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Auth Dialog not requesting email permission for user

I added the email permission to the "User & Friend Permissions" of my Auth Dialog.

Unfortunately, it is not requesting this permission when my users authorize my application.

The Auth Dialog is just requesting the Basic Info.

What is interesting, when I Preview the Auth Dialog it shows it requesting the email permission.

Is anyone else having this problem?

Thanks,

like image 777
RDotLee Avatar asked Dec 02 '25 09:12

RDotLee


1 Answers

You need to pass email in a scope like it's done in the second example here: http://developers.facebook.com/docs/reference/javascript/FB.login/

 FB.login(function(response) {
   // handle the response
 }, {scope: 'email'});
like image 77
zerkms Avatar answered Dec 04 '25 19:12

zerkms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!