Developer API

photos.get

Get a list of photos for a specified active album

Access level: 1 - General access

Parameters:
Name Required parameter Description
oid +
sid
album_id If this parameter is not specified the method returns a list of photos from album "It's me". You can get a list of id of user's albums, calling photos.getAlbums method
Method response:
{
    "status" : int,
    "message" : "str",
    "data":   {
    "photos": [
    {
    "photo_id" : int, // photo id
    "name" : "str", // photo title
    "erotic" : int, // 1 – erotic photo, 0 – non-erotic photo
    "small_photo_url" : "str", //link to a small photo (logo in the line)
    "medium_photo_url" : "str", //link to a medium photo (userpic)
    "huge_photo_url" : "str" //link to a full-size photo
    },
    {
    "photo_id" : int
    "name" : "str",
    "erotic" : int,
    "small_photo_url" : "str",
    "medium_photo_url" : "str",
    "huge_photo_url" : "str",
    }
    ]
    }
    }