Reputation: 95
I am using Facebook graph API to get Facebook details. But I am getting profile image as resized.
E.g.:
I tried changing _s to _n. But still am getting size of 180x134. But original image size is 260 × 194
.
How can I get the original images without resizing in iphone?
Upvotes: 0
Views: 610
Reputation: 66
If you want to get the exactly image size, you can try fql query
$fql="SELECT id, width, height, url, is_silhouette, real_width, real_height FROM profile_pic WHERE id=me() AND height=260 AND width=194";
$avt = $facebook->api(array(
'method'=>'fql.query',
'query' =>$fql,
));
$avt = & $avt[0]['url'];
I am using php, you can learn more here
Upvotes: 0
Reputation: 38249
Use this:
http://graph.facebook.com/[page id/profile id]/picture?type=large
Upvotes: 2