Get Facebook profile picture with URL
When I Want to get Facebook profile picture. I found https://developers.facebook.com/docs/graph-api/reference/v2.1/page/picture
http://graph.facebook.com/{fb-user-id}/picture?type=square&width=200&height=200
Modifiers
Name | Description | Type |
---|---|---|
redirect |
The picture edge is a special case, as when requested, it will by default return the picture itself and not a JSON response. To return a JSON response, you need to set redirect=false as a request attribute. This is how to return the fields below. |
bool |
type |
You use this to get a pre-specified size of picture. | enum{square,small,normal,large} |
height |
Restrict the picture height to this size in pixels. | int |
width |
Restrict the picture width to this size in pixels. When height and width are both used, the image will be scaled as close to the dimensions as possible and then cropped down. |
int |