artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
683 stars 215 forks source link

Facebook auth does not return user picture #115

Closed volodymyrkoval closed 9 years ago

volodymyrkoval commented 10 years ago

I have some problem. Facebook auth with scopes "email" and "user_about_me" does not return user picture link.

hotmeteor commented 10 years ago

This is normal for all Facebook implementations. You need to grab the image yourself using the image URL, ie:

$photo = 'https://graph.facebook.com/' . $oauthdata['id'] . '/picture?type=large';
ghost commented 10 years ago

Close this. and People, Socialite is here

Haseeb90 commented 10 years ago

or you could use

/me?fields=picture.width(320)

modify the width to what you need

volodymyrkoval commented 9 years ago

thanks for answers