Are you concerned about the profile picture size? at the time of implementing login with Facebook using PHP. We’ll show you the simple way to get large size profile picture in Facebook PHP SDK. Also, you can get the custom size image of Facebook profile.
Set the profile picture dimension by using the following line of code.
$userProfile = $facebook->api('/me?fields=picture.width(400).height(400)');
You can set width and height of the profile picture as per your need. But Facebook doesn’t return the exact size, It returns the closest dimension picture available with them.
Where does this work?? should /me be replaced by userid? how is that best done in this code? everything else here is working awesome … just need the big pic 🙂
See this tutorial – http://www.codexworld.com/login-with-facebook-using-php/
good job