Album (FQL)

From Facebook Developer Wiki

Jump to: navigation, search


Description

The FQL album table. Query this table to return information about a photo album.

To structure your query, use the table name (album in this case) in the FROM clause. The items in the Name column correspond to columns in the table that can be referenced in the SELECT and WHERE clauses.

In order to make your query indexable, the WHERE in your query should contain an = or IN clause for one of the columns marked with a * in the Indexable column of the table.

The See Also section lists API functions that work on similar data; their documentation pages contain additional information about the contents of the column and example FQL queries.

Columns

IndexableNameTypeDescription
* aid string The ID of the album being queried. The aid cannot be longer than 50 characters.
Note: Because the aid is a string, you should always wrap the aid in quotes when referenced in a query.
* owner int The user ID of the owner of the album being queried.
* cover_pid string The ID of the photo used as the cover for the album being queried. The cover_pid cannot be longer than 50 characters.
Note: Because the cover_pid is a string, you should always wrap the cover_pid in quotes when referenced in a query.
name string The name of the album being queried.
created time The date that the album being queried was created.
modified time The date that the album being queried was last updated.
description string The description of the album being queried.
location string The location for the album being queried.
size int The number of photos in the album being queried.
link string The URL to the album being queried.
visible string Indicates who can see the album. The value can be one of friends, friends-of-friends, networks, everyone, or custom (if the visibility doesn't match any of the other values). This information is available only to the album owner.
modified_major time Indicates the time a major update (like addition of photos) was last made to the album.
edit_link string The URL for editing the album.
type string The type of photo album. Can be one of:
  • profile: The album containing profile pictures
  • mobile: The album containing mobile upload photos
  • wall The album containing photos posted to a user's Wall
  • normal: For all other albums.

See Also

reference