artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
684 stars 217 forks source link

Facebook permissions "public_profile" #118

Closed Haseeb90 closed 9 years ago

Haseeb90 commented 9 years ago

When setting the permissions for Facebook authentication if I put the "public_profile" in it gives the following error

Scope public_profile is not valid for service OAuth\OAuth2\Service\Facebook

Why is this happening. And by default, if I don't add this permission, then the profile_picture doesn't get returned

Haseeb90 commented 9 years ago

I just have to make a separate request for the profile pic