ngFacebook icon indicating copy to clipboard operation
ngFacebook copied to clipboard

Picture size

Open alearcy opened this issue 9 years ago • 2 comments

Hi! How can I retrieve user large size picture? Now I simply fetch data with:

$facebook.api("/me", {fields: 'id, name, email, picture'}).then(function(response){ console.log(response.picture) }

but user picture is too small..

thanks!

alearcy avatar Oct 22 '15 16:10 alearcy

Hey @alearcy , use it!

$facebook.api('/me/picture', { height: '400' }).then(function(response) { console.log('UserPicture:', response); });

nstr avatar Jan 03 '16 09:01 nstr

@alearcy http://graph.facebook.com/FBUID/picture?height=512 https://developers.facebook.com/docs/graph-api/reference/user/picture/

kukac7 avatar Feb 02 '16 10:02 kukac7