ios - Getting Facebook Image using graph api - bigger image than picture.type(large) -


im requesting users image so:

fbrequestconnection startwithgraphpath:@"me" parameters:@{@"fields":@"first_name, last_name, picture.type(large), email, gender, birthday, age_range"} httpmethod:@"get" completionhandler:^(fbrequestconnection *connection, id result, nserror *error) 

but large image still quite small, there way request larger image, or better, , xlarge image. shot in dark tried picture.type(xlarge) caused error.

you can specify width , height using picture.width(200) or picture.height(200) sizes want, , graph api return url picture that's closest size. note not profile pictures have size want, still need handle smaller images.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -