@miled solution worked for me too, just like @arnoutvandervorst wrote, you just need to go to your plugin folder at:
/wp-content/plugins/wordpress-social-login/
In there you will find a file called:
wp-social-login.php
Edit the file and the end of the file include this code:
function wsl_change_default_permissons( $provider_scope, $provider )
{
if( 'facebook' == strtolower( $provider ) )
{
$provider_scope = 'email, public_profile';
}
return $provider_scope;
}
add_filter( 'wsl_hook_alter_provider_scope', 'wsl_change_default_permissons', 10, 2 );
One more thing, in my case, I had to change also inside the Facebook App the “Valid OAuth redirect URIs”:
FROM:
https://mywebsite.com/wp-content/plugins/wordpress-social-login/hybridauth/?hauth.done=WordPress
TO:
https://mywebsite.com/wp-content/plugins/wordpress-social-login/hybridauth/?hauth_done=Facebook
-
This reply was modified 6 years, 4 months ago by Optimiza. Reason: semantics