| Please note: We are in the process of deprecating the REST API. If you are building a new application use the Graph API and access the albums connection of the User object |
Returns metadata about all of the photo albums uploaded by the specified user.
This method returns information from all visible albums satisfying the filters specified. The method can be used to return all photo albums created by a user, query a specific set of albums by a list of aids, or filter on any combination of these two.
This call does return a user's profile picture album. However, you cannot upload photos to this album using photos.upload. You can determine whether an album is the profile album by comparing the album cover pid with the user's profile picture pid. If they are the same pid, then that's the profile picture album. Also, see the Notes below for another way of returning the profile picture album.
You cannot store the values returned from this call.
| Name | Type | Description |
|---|---|---|
| uid | int | Return albums created by this user. You must specify either |
| aids | array | Return albums with aids in this list. This is a comma-separated list of aids. You must specify either |
| callback | string | Name of a function to call. This is primarily to enable cross-domain JavaScript requests using the <script> tag, also known as JSONP, and works with both the XML and JSON formats. The function will be called with the response passed as the parameter. |
The album IDs (aids) returned by this function can be passed in to photos.get.
Privacy note: In this call, an album owned by a user gets returned to an application if that user has not turned off access to the Facebook Platform.