react-native-facebook-login icon indicating copy to clipboard operation
react-native-facebook-login copied to clipboard

react-native-facebook-login getting picture

Open edcalderin opened this issue 7 years ago • 1 comments

Hi.

I am using React-native-facebook-login. It works perfectly but now, I wish to get the picture in high resolution:

FBLoginManager.loginWithPermissions(["email"], function(error, data){ if (!error) { console.log("Login data: ", JSON.parse(data.profile)) } else { console.log("Error: ", error); } }) data.profile returns all of data but picture profile in low resolution. If I write FBLoginManager.loginWithPermissions(["email", "picture.height(250)"], function(error, data){ It returns an error: Invalid Scope (picture).

How could I solve that?

edcalderin avatar Jun 07 '17 14:06 edcalderin

"picture.height(250)" is not a valid permission Here is a list with all available permissions

https://developers.facebook.com/docs/facebook-login/permissions

maggialejandro avatar Sep 15 '17 16:09 maggialejandro