'Is there a way to set a certain permission in "Facebook Login" process as "required"?

Is there a way to set a certain permission in "Facebook Login" process (such as "email" permission) as "required", so a user can only approve logging in with that permission or cancel (a.k.a close login popup)?

Thanks.



Solution 1:[1]

You can check if the user approved the permissions right after login, with the return_scopes parameter: https://developers.facebook.com/docs/reference/javascript/FB.login/

If he did not approve some permission, don't let him use the App or the specific part of the App.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 andyrandy