Top | ![]() |
![]() |
![]() |
![]() |
GFBGraphPhoto * | gfbgraph_photo_new () |
GFBGraphPhoto * | gfbgraph_photo_new_from_id () |
GInputStream * | gfbgraph_photo_download_default_size () |
const gchar * | gfbgraph_photo_get_name () |
const gchar * | gfbgraph_photo_get_default_source_uri () |
guint | gfbgraph_photo_get_default_width () |
guint | gfbgraph_photo_get_default_height () |
GList * | gfbgraph_photo_get_images () |
const GFBGraphPhotoImage * | gfbgraph_photo_get_image_hires () |
const GFBGraphPhotoImage * | gfbgraph_photo_get_image_near_width () |
const GFBGraphPhotoImage * | gfbgraph_photo_get_image_near_height () |
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_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.
Owner: GFBGraphPhoto
Flags: Read / Write
Default value: 0
“images”
property “images” gpointer
A list with the available representations of the photo, in differents sizes
Owner: GFBGraphPhoto
Flags: Read / Write
“name”
property “name” char *
The name of the photo given by his owner.
Owner: GFBGraphPhoto
Flags: Read / Write
Default value: ""
“source”
property “source” char *
An URI for the photo, with a maximum width or height of 720px.
Owner: GFBGraphPhoto
Flags: Read / Write
Default value: ""