1

How to obtain a full size profile picture from Facebook ?

http://graph.facebook.com/{ID}/picture?type=large is way to small. I want a bigger size ? Is that possible ? I need a way without FBML because that is soon to end

Yahoo
  • 4,093
  • 17
  • 59
  • 85

3 Answers3

1

You can specify width and/or height and Facebook will return an image less than or equal to the given size.

http://graph.facebook.com/{ID}/picture?width={size_in_pixels}&redirect=false

Pete
  • 57,112
  • 28
  • 117
  • 166
0

you have to pass another variable "redirect=true" in the url. That means, your URL will be like http://graph.facebook.com/{ID}/picture?type=large&redirect=true

evandrix
  • 6,041
  • 4
  • 27
  • 38
Srim
  • 527
  • 2
  • 8
  • 23
-1

If you have user_photos permission you should be able to get the current profile picture by finding the first image in the Profile Pictures Album. Here is some sample code from Kilian Valkhof.

Chet Seidel
  • 76
  • 1
  • 7