Phanfare Support Site
Navigation

GetImages

From Doc

Retrieves photos and videos.

Valid values for image_mode are Random, SpecificAlbum, NewestAlbumCreationDate, NewestAlbumStartDate, and NewestImages.

album_id is required if image_mode is SpecificAlbum. Otherwise the parameter is optional.

Parameters

api_key (required)

The api key for your application

target_uid (required)

The ID of the Phanfare user

image_mode (required)

The group of albums to retrieve

album_id (optional)

The ID of the album to obtain information on

num_images (optional)

The number of images to retrieve. The default is 50.


Sample Response

<rsp stat="ok">
  <images num_images=""> 
    <imageinfo album_id="" section_id="" image_id="" filename="" caption="" image_date="" is_video="" hidden="">
      <rendition rendition_type="" width="" height="" filesize="" created_date="" media_type="" quality="" url="">
    </imageinfo>
  </images>
</rsp>
© 2008 Phanfare, Inc.