FQL:album

From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search

Query this table to return information about a photo album.

Columns

Highlighted rows are indexable / searchable and one is usually required in the WHERE portion of the query.

Name Type Description
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. The aid is unique only for a given user.

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.
object_id int The object_id of the album on Facebook. Use the object_id to let users comment on an album with the Comments API.
can_upload bool Determines whether a given UID can upload to the album. It is true if the following conditions are met:
  • The user owns the album.
  • The album is not a special album like the profile pic album.
  • The album is not full.

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Graph API
FQL
Toolbox