Facebook email Permission, oath2, doesnt work?

Posted by Mathias Eklöf on Stack Overflow See other posts from Stack Overflow or by Mathias Eklöf
Published on 2012-03-31T10:22:37Z Indexed on 2012/04/01 5:29 UTC
Read the original article Hit count: 174

since the new Auth Dialog from Facebook (for my App & homepage), I cannot get the dialog to show that my homepage/app needs the users email when connection to my homepage/app.

In the Auth-section of my app I've added "email" to the User & Friend Permissions. Also I've added it to the referal when someone clicks the "Login with facebook"-button.

When someone clicks the Facebook-button, he/she redirects to a page which has the PHP-code with Facebook SDK PHP (latest). Here's how I generate the send-to-url for the dialog:

$login_url = $facebook->getLoginUrl(array('req_perms' => 'email,publish_stream')); header("Location: ".$login_url);

But when the Dialog pops up, the only permission request it does is "basic information". I need to request the Email. Am I stupid or is it a bug somehow? I've also recreated the App.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-graph-api