Take the 2-minute tour ×

I'm developing website Facebook application using C#. I can get the information using:

FacebookClient FBApp = new FacebookClient(getAccessToken);
dynamic user = FBApp.Get("/me");

and I can get a user's friends by:

dynamic friends = FBApp.Get("/me/friends");

All this does not contain any links to the photo. I can get the user photo using the link https://graph.facebook.com/*[user_id]*/picture.

But this shows a very small photo... How can I get the photo in a size similar to the size of the profile photo?

share|improve this question

4 Answers 4

up vote 11 down vote accepted

To get a user profile picture of a specific size, call


where SIZE should be replaced with one of the words


depending on the size you want.

This call will return a URL to a single image with its size based on your chosen type parameter.

For example:


returns a URL to a large version of the image.

share|improve this answer
if you use graph.facebook.com/USER_ID/picture&type=SIZE Then it will return an error message :- { "error": { "message": "Unknown path components: /picture&type=large", "type": "OAuthException", "code": 2500 } } . You have to use graph.facebook.com/USER_ID/picture?type=SIZE –  Jay Hardia Apr 9 '13 at 10:54
@JayHardia Thanks, I've corrected the error in the answer. –  Gunnar Karlsson Apr 9 '13 at 21:57

Try FQL:

SELECT pic_square FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me())

...where pic_square can be one of pic_small, pic_big, pic_square, pic

That'll give you URLs for the corresponding user's friends' profile picture at the given size.



share|improve this answer

@Gunnar Karlsson is true, but the sizes (in pixels) of pictures are not the same. For example, 180x180;180x135. The aspect depends on the original uploaded picture

share|improve this answer

You can get picture by this way: https://graph.facebook.com/v2.2/search?fields=id,picture&q={your query}&type=user&access_token=AccessToken

share|improve this answer

Your Answer


