Represents the source URL of a photo as represented in FQL.
The Photo object has an equivalent src connection. Using photo_src FQL, you can retrieve images with the following dimensions: 960, 720, 480, 320, 180, 130, 75 pixels.
| Name | Description |
|---|---|
height unsigned int32 | The height of the bounding box of the photo, in pixels. Note that this is not the height of the photo itself; please see the photo table for information on how to retrieve the dimensions of the photo itself |
| string | The ID of the photo being queried |
size string | A string representing the max size of the image returned. For example, 640X640. Note: If you want an exact dimension, use width and height |
src string | URL of the photo |
width unsigned int32 | The width of the bounding box of the photo, in pixels. Note that this is not the width of the photo itself; please see the photo table for information on how to retrieve the dimensions of the photo itself |
To read the photo_src table you need the following permissions:
User:
user_photos permissions to access photo tag information that a user is tagged in.friends_photos permissions to access photo tag information that a friend is tagged in.Group:
access_token to access photos of a public group.user_photos permissions to access photos of a user for a non-public group that the current user is a member of.friends_photos permissions to access photos of a friend for a non-public group that the current user is a member of.Event:
access_token to access photos of a public event.user_photos permissions to access photos of a user for a non-public event that the current user has been invited to. If the invited user removes the event from their list they will no longer be able to read the table.friends_photos permissions to access photos of a friend for a non-public event that the current user has been invited to. If the invited user removes the event from their list they will no longer be able to read the table.Returned image sizes will not be larger than the actual dimensions of the original uploaded version of the photo.