Reputation: 4361
Currently I am creating website that allow user login by their facebook. and the website require their email.
the problem is how to facebook authorization with require their email. but when the user doesn't give their email permission, how to cancel the authorization process.
I know facebook docs tell me, that facebook was not guarantee we grab the user email. but how to cancel when the user does not allow their email in permission list
https://developers.facebook.com/docs/facebook-login/permissions/v2.3
Provides access to the person's primary email address via the email property on the user object.
Do not spam users. Your use of email must comply with both Facebook policies and with the CAN-SPAM Act.
Note, even if you request the email permission it is not guaranteed you will get an email address. For example, if someone signed up for Facebook with a phone number instead of an email address, the email field may be empty.
Review Your app may use this permission without review from Facebook.
when user disable their email permissions picture :
Upvotes: 0
Views: 1381
Reputation: 4361
[SOLVED]
I can using user revoking permissions.
see here : Using Laravel Socialite to Manage User socials setting (like pinterest at user settings page)
Upvotes: 0