| Top |
GFBGraphPhoto * gfbgraph_photo_new_from_id (GFBGraphAuthorizer *authorizer,const gchar *id,GError **error);
Retrieves an photo node from the Facebook Graph with the give ID.
GInputStream * gfbgraph_photo_download_default_size (GFBGraphPhoto *photo,GFBGraphAuthorizer *authorizer,GError **error);
Download the default sized photo pointed by photo
, with a maximum width or height of 720px.
The photo always is a JPEG.
const gchar *
gfbgraph_photo_get_name (GFBGraphPhoto *photo);
the photo
name, which is the comment given by the user so it would by larger, or NULL.
[transfer none]
const gchar *
gfbgraph_photo_get_default_source_uri (GFBGraphPhoto *photo);
guint
gfbgraph_photo_get_default_height (GFBGraphPhoto *photo);
GList *
gfbgraph_photo_get_images (GFBGraphPhoto *photo);
a GList of GFBGraphPhotoImage with the available photo sizes.
[element-type GFBGraphPhotoImage][transfer none]
const GFBGraphPhotoImage *
gfbgraph_photo_get_image_hires (GFBGraphPhoto *photo);
const GFBGraphPhotoImage * gfbgraph_photo_get_image_near_width (GFBGraphPhoto *photo,guint width);
const GFBGraphPhotoImage * gfbgraph_photo_get_image_near_height (GFBGraphPhoto *photo,guint height);
“height” property“height” guint
The default photo height, up to 720px.
Flags: Read / Write
Default value: 0
“images” property“images” gpointer
A list with the available representations of the photo, in differents sizes
Flags: Read / Write
“name” property“name” gchar *
The name of the photo given by his owner.
Flags: Read / Write
Default value: ""
“source” property“source” gchar *
An URI for the photo, with a maximum width or height of 720px.
Flags: Read / Write
Default value: ""
“width” property“width” guint
The default photo width, up to 720px.
Flags: Read / Write
Default value: 0