* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) The timeframe in which to return updates for. This can be specified in days ('2d') or hours ('4h'). The default behavoir is to return changes since the beginning of the previous user session.
* @param (int, optional) Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of recent activity on photos belonging to the calling user.
// (Uses the authentication process for desktop applications.)
//
/**
* Returns a frob to be used during authentication.
*
* To authenticate a user using the SWX Flickr API:
*
* 1. First call this method and get the magic frob value.
* 2. Call the authGetUrl() method and pass the frob as well as the type of authentication you want ("read", "write", "delete"). This will return a URL.
* 3. Send the user to the URL returned in Step 2. Flickr will ask them to authorize your application. Once they've done that, they'll return to your application.
* 4. Call the authGetToken() method and pass the frob. If the user granted your application the correct permissions, you should get a token back. Send this token for all authenticated calls.
* Returns the authentication url to redirect the user to so
* they can log in and authorize the Flash application. (This
* uses the authentication mechanism for desktop applications, which
* is the one that works best for Flash applications).
*
* For a full explanation of the authorization system in the
* SWX Flickr API, see the notes on the authGetFrob() method.
*
* @param (str) The frob that was returned by the authGetFrob() method.
* @param (str, optional) The permissions being requested ("read"|"write"|"delete"). Write includes read, and delete includes both read and write permissions. Defaults to read.
*
* @return (str) URL to send user to so they can authorize the application.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) The NSID of the user to fetch the favorites list for. If this argument is omitted, the favorites list for the calling user is returned.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
* @param (str) The user to fetch the favorites list for.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of favorite public photos for the given user.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) The category id to fetch a list of groups and sub-categories for. If not specified, it defaults to zero, the root of the category tree.
* @param (str) The id of the group who's pool you which to get the photo list for.
* @param (str, optional) A tag to filter the pool with. At the moment only one tag at a time is supported.
* @param (str, optional) The nsid of a user. Specifiying this parameter will retrieve for you only those photos that the user has contributed to the group pool.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
* @param (str) The auth token that was returned by authGetToken().
* @param (str) The id of the photo to remove from the group pool. The photo must either be owned by the calling user of the calling user must be an administrator of the group.
* @param (str) The NSID of the group who's pool the photo is to removed from.
*
* @return True/Error obj depending on whether call was successful.
* @param (str, optional) A specific date, formatted as YYYY-MM-DD, to return interesting photos for.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of interesting photos for the most recent day or a user-specified date.
* @param (str) The NSID of the user who's photos to return.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of public photos for the given user.
* @param (str) The auth token that was returned by authGetToken().
* @param (int, optional) Number of photos to return. Defaults to 10, maximum 50. This is only used if single_photo is not passed.
* @param (int, optional) Set as 1 to only show photos from friends and family (excluding regular contacts).
* @param (?, optional) Only fetch one photo (the latest) per contact, instead of all photos in chronological order.
* @param (int, optional) Set to 1 to include photos from the calling user.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update.
*
* @return List of recent photos from the calling users' contacts.
* @param (str) The NSID of the user to fetch photos for.
* @param (int, optional) Number of photos to return. Defaults to 10, maximum 50. This is only used if single_photo is not passed.
* @param (int, optional) Set as 1 to only show photos from friends and family (excluding regular contacts).
* @param (?, optional) Only fetch one photo (the latest) per contact, instead of all photos in chronological order.
* @param (int, optional) Set to 1 to include photos from the calling user.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update.
*
* @return List of recent public photos from a users' contacts.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) A comma delimited list of unix timestamps, denoting the periods to return counts for. They should be specified smallest first. You must specify either this or takenDates.
* @param (str, optional) A comma delimited list of mysql datetimes, denoting the periods to return counts for. They should be specified smallest first. You must specify either this or dates.
*
* @return List of photo counts for the given date ranges for the calling user.
* @author Aral Balkan
***/
function photosGetCounts($token, $dates = NULL, $takenDates = NULL)
* @param (str) The id of the photo to fetch information for.
* @param (str, optional) The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the 'sharing' of individual photos by passing around the id and secret.
*
* @return List of EXIF/TIFF/GPS tags for a given photo.
* @param (str) The id of the photo to get information for.
* @param (str, optional) The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the 'sharing' of individual photos by passing around the id and secret.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (int, optional) Return photos only matching a certain privacy level. Valid values are: 1 public photos, 2 private photos visible to friends, 3 private photos visible to family, 4 private photos visible to friends & family, 5 completely private photos
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of your photos that are not part of any sets.
* @param (str, optional) comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of the latest public photos uploaded to flickr.
* @author Aral Balkan
***/
function photosGetRecent($extras = NULL, $perPage = NULL, $page = NULL)
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (int, optional) Return photos only matching a certain privacy level. Valid values are: 1 public photos, 2 private photos visible to friends, 3 private photos visible to family, 4 private photos visible to friends & family, 5 completely private photos
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (int, optional) Return photos only matching a certain privacy level. Valid values are: 1 public photos, 2 private photos visible to friends, 3 private photos visible to family, 4 private photos visible to friends & family, 5 completely private photos
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
* @param (str) The auth token that was returned by authGetToken().
* @param (str, optional) Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (int, optional) Return photos only matching a certain privacy level. Valid values are: 1 public photos, 2 private photos visible to friends, 3 private photos visible to family, 4 private photos visible to friends & family, 5 completely private photos
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of your photos which haven't been geo-tagged.
* @param (str) The auth token that was returned by authGetToken().
* @param (str) A Unix timestamp indicating the date from which modifications should be compared.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.
*
* @return List of your photos that have been recently created
* @param (str, optional) The auth token that was returned by authGetToken().
* @param (str, optional) The NSID of the user who's photo to search. If this parameter isn't passed then everybody's public photos will be searched. A value of "me" will search against the calling user's photos for authenticated calls.
* @param (str, optional) A comma-delimited list of tags. Photos with one or more of the tags listed will be returned.
* @param (str, optional) Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified.
* @param (str, optional) A free text search. Photos who's title, description or tags contain the text will be returned.
* @param (str, optional) Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
* @param (str, optional) Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
* @param (str, optional) The license id for photos (for possible values see the flickr.photos.licenses.getInfo method). Multiple licenses may be comma-separated.
* @param (str, optional) The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, and relevance.
* @param (int, optional) Return photos only matching a certain privacy level. This only applies when making an authenticated call to view photos you own. Valid values are: 1 public photos, 2 private photos visible to friends, 3 private photos visible to family, 4 private photos visible to friends & family, 5 completely private photos
* @param (str, optional) A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched. The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude. Longitude has a range of -180 to 180 , latitude of -90 to 90. Defaults to -180, -90, 180, 90 if not specified. Unlike standard photo queries, geo (or bounding box) queries will only return 250 results per page. Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).
* @param (int, optional) Recorded accuracy level of the location information. Current range is 1-16: World level is 1, Country is ~3, Region is ~6, City is ~11, Street is ~16, Defaults to maximum value if not specified.
* @param (int, optional) Safe search setting: 1 for safe. 2 for moderate. 3 for restricted. (Please note: Un-authed calls can only see Safe content.)
* @param (int, optional) Content Type setting: 1 for photos only. 2 for screenshots only. 3 for 'other' only. 4 for photos and screenshots. 5 for screenshots and 'other'. 6 for photos and 'other'. 7 for photos, screenshots, and 'other' (all).
* @param (str, optional) Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties: Find photos using the 'dc' namespace : "machine_tags" => "dc:". Find photos with a title in the 'dc' namespace : "machine_tags" => "dc:title=". Find photos titled "mr. camera" in the 'dc' namespace : "machine_tags" => "dc:title=\"mr. camera\". Find photos whose value is "mr. camera" : "machine_tags" => "*:*=\"mr. camera\"". Find photos that have a title, in any namespace : "machine_tags" => "*:title=". Find photos that have a title, in any namespace, whose value is "mr. camera" : "machine_tags" => "*:title=\"mr. camera\"". Find photos, in the 'dc' namespace whose value is "mr. camera" : "machine_tags" => "dc:*=\"mr. camera\"". Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8).
* @param (str, required if searching for machine tags) Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified.
* @param (str, optional) The id of a group who's pool to search. If specified, only matching photos posted to the group's pool will be returned.
* @param (str, optional) A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags.
* @param (int, optional) Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
* @param (int, optional) The page of results to return. If this argument is omitted, it defaults to 1.