com. kelvinluck. flickr. FlickrResponseListener

Class to define a listener for responses from the FlickrAPI.

Subclass this class or override the methods you are interested in and use Flickr.addListener...  The methods as they exist in this class just output debugging information and exist kind of like an interface to specify the callbacks from Flickr.callMethod and the variables available to them.

This code is licensed under a Creative Commons License.  http://creativecommons.org/licenses/by-nc-sa/2.0/

See Also

Flickr

Flickr.callMethod

http://www.flickr.com/services/api/

Version

0.1.0

Author

Kelvin Luck < kelvin at kelvinluck dot com >

Summary
Class to define a listener for responses from the FlickrAPI.
Called when there is a response from a call to flickr.contacts.getList.
Called when there is a response from a call to flickr.contacts.getPublicList.
Called when there is a response from a call to flickr.favorites.add.
Called when there is a response from a call to flickr.favorites.getList.
Called when there is a response from a call to flickr.favorites.getPublicList.
Called when there is a response from a call to flickr.favorites.remove.
Called when there is a response from a call to flickr.people.findByEmail.
Called when there is a response from a call to flickr.people.findByUsername.
Called when there is a response from a call to flickr.people.getInfo.
Called when there is a response from a call to flickr.people.getOnlineList.
Called when there is a response from a call to flickr.people.getPublicGroups.
Called when there is a response from a call to flickr.people.getPublicPhotos.
Called when there is a response from a call to flickr.photos.addTags.
Called when there is a response from a call to flickr.people.getContactsPhotos.
Called when there is a response from a call to flickr.people.getContactsPhotos.
Called when there is a response from a call to flickr.people.getContext.
Called when there is a response from a call to flickr.people.getCounts.
Called when there is a response from a call to flickr.people.getExif.
Called when there is a response from a call to flickr.people.getInfo.
Called when there is a response from a call to flickr.people.getPhotosNotInSet.
Called when there is a response from a call to flickr.people.getPerms.
Called when there is a response from a call to flickr.people.getRecent.
Called when there is a response from a call to flickr.people.getSizes.
Called when there is a response from a call to flickr.people.getUntagged.
Called when there is a response from a call to flickr.people.removeTag.
Called when there is a response from a call to flickr.people.search.
Called when there is a response from a call to flickr.people.setDates.
Called when there is a response from a call to flickr.people.setMeta.
Called when there is a response from a call to flickr.people.setPerms.
Called when there is a response from a call to flickr.people.setTags.
Called when there is a response from a call to flickr.tags.tagsGetListPhoto.
Called when there is a response from a call to flickr.tags.getListUser.
Called when there is a response from a call to flickr.tags.getListUserPopular.
Called when there is a response from a call to flickr.tags.tagsGetRelated.
Called when there is a response from a call to flickr.test.echo.
Called when there is a response from a call to flickr.test.login
Called when the Flickr API returns an error code..
Internal function which deals with a response from a Flickr API call and forwards any relevant arguments to the relevant function.

Functions

onContactsGetList

function onContactsGetList(contacts: Array)

Called when there is a response from a call to flickr.contacts.getList.  Override this method in your application if you want to do something with the response to this call.

TODO

This should probably accept a Person object instead of an Array of contacts.  This Person would be the calling user and would have an Array of contacts held within them.

The problem is what to do when we don’t have a Person object for the calling user and we don’t know their nsid...

Parameters

contactsAn Array of Person objects.

See Also

Flickr.contactsGetList

http://flickr.com- /services- /api- /flickr.contacts.getList.html

onContactsGetPublicList

function onContactsGetPublicList(user: Person)

Called when there is a response from a call to flickr.contacts.getPublicList.  Override this method in your application if you want to do something with the response to this call.

Parameters

userThe Person object whose contacts you got.  Use Person.getPublicContacts to retrieve the list of contacts.

See Also

Flickr.contactsGetPublicList

Person.getPublicContacts

http://flickr.com- /services- /api- /flickr.contacts.getPublicList.html

onFavoritesAdd

function onFavoritesAdd(photo: Photo,
email: String)

Called when there is a response from a call to flickr.favorites.add.  Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe photo which has just been successfully added to the user’s favorites.
emailThe email address of the user whose favourites the photo was added to.

See Also

Flickr.favoritesAdd

http://www.flickr.com- /services- /api- /flickr.favorites.add.html

onFavoritesGetList

function onFavoritesGetList(user: Person,
email: String)

Called when there is a response from a call to flickr.favorites.getList.  Override this method in your application if you want to do something with the response to this call.

Parameters

userThe Person whose favourites we got.  You can get their favorites using Person.getFavorites.
emailThe email address of the user whose login was used to get the photos

See Also

Flickr.favoritesGetList

Person.getFavorites

http://www.flickr.com- /services- /api- /flickr.favorites.getList.html

onFavoritesGetPublicList

function onFavoritesGetPublicList(user: Person)

Called when there is a response from a call to flickr.favorites.getPublicList.  Override this method in your application if you want to do something with the response to this call.

Parameters

userThe Person whose favourites we got.  You can get their favorites using Person.getFavorites.

See Also

Flickr.favoritesGetPublicList

Person.getFavorites

http://www.flickr.com- /services- /api- /flickr.favorites.getPublicList.html

onFavoritesRemove

function onFavoritesRemove(photo: Photo,
email: String)

Called when there is a response from a call to flickr.favorites.remove.  Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe photo which has just been successfully removed from the user’s favorites.
emailThe email address of the user whose favourites the photo was removed from.

See Also

Flickr.favoritesRemove

http://www.flickr.com- /services- /api- /flickr.favorites.remove.html

onPeopleFindByEmail

function onPeopleFindByEmail(email: String,
person: Person)

Called when there is a response from a call to flickr.people.findByEmail.

Override this method in your application if you want to do something with the response to this call.

Parameters

emailThe email address of the person you found.
personA Person object containing information about the person you found.

See Also

Flickr.peopleFindByEmail

http://flickr.com- /services- /api- /flickr.people.findByEmail.html

onPeopleFindByUsername

function onPeopleFindByUsername(username: String,
person: Person)

Called when there is a response from a call to flickr.people.findByUsername.

Override this method in your application if you want to do something with the response to this call.

Parameters

usernameThe username of the person you found.
personA Person object containing information about the person you found

See Also

Flickr.peopleFindByUsername

http://flickr.com- /services- /api- /flickr.people.findByUsername.html

onPeopleGetInfo

function onPeopleGetInfo(nsid: String,
person: Person)

Called when there is a response from a call to flickr.people.getInfo.

Override this method in your application if you want to do something with the response to this call.

Parameters

nsidThe nsid of the person you got information about.
personA Person object containing information about the person you found (nsid, isAdmin, isPro, username, realname, location, photosFirstDateTaken, photosFirstDate and numPhotos).

See Also

Flickr.peopleGetInfo

http://flickr.com- /services- /api- /flickr.people.getInfo.html

onPeopleGetOnlineList

function onPeopleGetOnlineList(onlineList: Array)

Called when there is a response from a call to flickr.people.getOnlineList.

Override this method in your application if you want to do something with the response to this call.

Parameters

onlineListAn array of Person objects - one for each person who is currently online.

See Also

Flickr.peopleGetOnlineList

http://flickr.com- /services- /api- /flickr.people.getOnlineList.html

onPeopleGetPublicGroups

function onPeopleGetPublicGroups(person: Person)

Called when there is a response from a call to flickr.people.getPublicGroups.

Override this method in your application if you want to do something with the response to this call.

Parameters

personA Person object representing the person whose groups you wanted info on

See Also

Flickr.peopleGetPublicGroups

<Person.getGroups>

http://flickr.com- /services- /api- /flickr.people.getPublicGroups.html

onPeopleGetPublicPhotos

function onPeopleGetPublicPhotos(person: Person)

Called when there is a response from a call to flickr.people.getPublicPhotos.

Override this method in your application if you want to do something with the response to this call.

Parameters

personThe Person whose public photos you have got.

See Also

Flickr.peopleGetPublicPhotos

Person._photos

http://flickr.com- /services- /api- /flickr.people.getPublicPhotos.html

onPhotosAddTags

function onPhotosAddTags(photo: Photo,
tags: String,
email: String)

Called when there is a response from a call to flickr.photos.addTags.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo that the tags were added to.
tagsThe tags that were added.
emailThe email address of the logged in user

See Also

Flickr.photosAddTags

http://www.flickr.com- /services- /api- /flickr.photos.addTags.html

onPhotosGetContactsPhotos

function onPhotosGetContactsPhotos(photos: Array)

Called when there is a response from a call to flickr.people.getContactsPhotos.

Override this method in your application if you want to do something with the response to this call.

Parameters

photosAn array of Photo objects - one for each photo by a contact of the calling user

See Also

Flickr.photosGetContactsPhotos

http://flickr.com- /services- /api- /flickr.photos.getContactsPhotos.html

onPhotosGetContactsPublicPhotos

function onPhotosGetContactsPublicPhotos(person: Person,
photos: Array)

Called when there is a response from a call to flickr.people.getContactsPhotos.

Override this method in your application if you want to do something with the response to this call.

Parameters

personThe NSID of the user whose contacts public photos you requested
photosAn array of Photo objects - one for each photo by a contact of the calling user

See Also

Flickr.photosGetContactsPublicPhotos

http://flickr.com- /services- /api- /flickr.photos.getContactsPublicPhotos.html

onPhotosGetContext

function onPhotosGetContext(photo: Photo)

Called when there is a response from a call to flickr.people.getContext.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo we were getting the context for.  The values of context* will be set in it and will point to the relevant other Photo objects

See Also

Flickr.photosGetContext

http://flickr.com- /services- /api- /flickr.photos.getContext.html

onPhotosGetCounts

function onPhotosGetCounts(counts: Array)

Called when there is a response from a call to flickr.people.getCounts.

Override this method in your application if you want to do something with the response to this call.

Parameters

countsAn array containing objects for each date range getCounts was called on Each object contains the following attributes: count, fromdate and todate

Note

If you called photoGetCounts using the dates argument then the returned values of fromdate and todate will be UNIX Timestamps.  If you used the datesTaken argument then the returned values will be MySQL Timestamps.

TODO

Should we return Date objects to avoid the problems with the different sorts of dates?

See Also

Flickr.photosGetCounts

http://www.flickr.com- /services- /api- /flickr.photos.getCounts.html

onPhotosGetExif

function onPhotosGetExif(photo: Photo)

Called when there is a response from a call to flickr.people.getExif.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoA Photo containing all the information loaded from flickr.com

See Also

Flickr.photosGetExif

http://www.flickr.com- /services- /api- /flickr.photos.getExif.html

onPhotosGetInfo

function onPhotosGetInfo(photo: Photo)

Called when there is a response from a call to flickr.people.getInfo.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoA Photo containing all the information loaded from flickr.com

See Also

Flickr.photosGetInfo

http://www.flickr.com- /services- /api- /flickr.photos.getInfo.html

onPhotosGetNotInSet

function onPhotosGetNotInSet(photos: Array)

Called when there is a response from a call to flickr.people.getPhotosNotInSet.

Override this method in your application if you want to do something with the response to this call.

Parameters

photosAn Array of Photo’s.

See Also

Flickr.photosGetNotInSet

http://www.flickr.com- /services- /api- /flickr.photos.getNotInSet.html

onPhotosGetPerms

function onPhotosGetPerms(photo: Array)

Called when there is a response from a call to flickr.people.getPerms.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo that you just got permissions for.

TODO

Need to actually do something with the permissions that were returned.  At the moment they are ignored as I need to figure out how to store permissions which are a combination of Person and Photo - and so can’t just be stored on a Photo.

Especially since we don’t have a Person object for the logged in calling user...

See Also

Flickr.photosGetPerms

http://www.flickr.com- /services- /api- /flickr.photos.getPerms.html

onPhotosGetRecent

function onPhotosGetRecent(photos: Array)

Called when there is a response from a call to flickr.people.getRecent.

Override this method in your application if you want to do something with the response to this call.

Parameters

photosAn Array of Photo’s.

See Also

Flickr.photosGetNotInSet

http://www.flickr.com- /services- /api- /flickr.photos.getRecent.html

onPhotosGetSizes

function onPhotosGetSizes(photo: Photo)

Called when there is a response from a call to flickr.people.getSizes.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose sizes you got.

See Also

Flickr.photosGetSizes

Photo._sizes

PhotoSize

http://www.flickr.com- /services- /api- /flickr.photos.getSizes.html

onPhotosGetUntagged

function onPhotosGetUntagged(photos: Array)

Called when there is a response from a call to flickr.people.getUntagged.

Override this method in your application if you want to do something with the response to this call.

Parameters

photosAn Array of Photo’s.

See Also

Flickr.photosGetUntagged

http://www.flickr.com- /services- /api- /flickr.photos.getUntagged.html

onPhotosRemoveTag

function onPhotosRemoveTag(tagId: Number,
email: String)

Called when there is a response from a call to flickr.people.removeTag.

Override this method in your application if you want to do something with the response to this call.

Parameters

tagIdThe ID of the Tag that was removed.  This identifies a Tag and a Photo it was associated with...
emailThe email address of the user who removed the tag.  NOTE: This isn’t necessarily the user whose photo the tag was removed from...  So this maybe isn’t very interesting at all?  It would be more interesting if we could somehow find out what Photo the Tag was removed from and what the text of the Tag was...

See Also

Flickr.photosRemoveTag

http://www.flickr.com- /services- /api- /flickr.photos.removeTag.html

onPhotosSearch

function onPhotosSearch(photos: Array)

Called when there is a response from a call to flickr.people.search.

Override this method in your application if you want to do something with the response to this call.

Parameters

photosAn Array of Photo’s.

See Also

Flickr.photosSearch

http://www.flickr.com- /services- /api- /flickr.photos.search.html

onPhotosSetDates

function onPhotosSetDates(photo: Photo)

Called when there is a response from a call to flickr.people.setDates.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose dates have just been updated,

See Also

Flickr.photosSetDates

http://www.flickr.com- /services- /api- /flickr.photos.setDates.html

onPhotosSetMeta

function onPhotosSetMeta(photo: Photo)

Called when there is a response from a call to flickr.people.setMeta.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose meta info has just been updated,

See Also

Flickr.photosSetMeta

http://www.flickr.com- /services- /api- /flickr.photos.setMeta.html

onPhotosSetPerms

function onPhotosSetPerms(photo: Photo)

Called when there is a response from a call to flickr.people.setPerms.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose permissions info has just been updated,

See Also

Flickr.photosSetMeta

http://www.flickr.com- /services- /api- /flickr.photos.setPerms.html

onPhotosSetTags

function onPhotosSetTags(photo: Photo)

Called when there is a response from a call to flickr.people.setTags.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose tags have just been updated,

See Also

Flickr.photosSetTags

http://www.flickr.com- /services- /api- /flickr.photos.setTags.html

onTagsGetListPhoto

function onTagsGetListPhoto(photo: Photo)

Called when there is a response from a call to flickr.tags.tagsGetListPhoto.

Override this method in your application if you want to do something with the response to this call.

Parameters

photoThe Photo whose tags are being returned.  Use Photo.getTags to get at the tags themselves...

See Also

Flickr.tagsGetListPhoto

Photo.getTags

http://www.flickr.com- /services- /api- /flickr.tags.getListPhoto.html

onTagsGetListUser

function onTagsGetListUser(person: Person,
tags: Array)

Called when there is a response from a call to flickr.tags.getListUser.

Override this method in your application if you want to do something with the response to this call.

Parameters

personThe Person whose tags are being returned.
tagsAn array of tags (as strings) associated with this user.

See Also

Flickr.tagsGetListUser

http://www.flickr.com- /services- /api- /flickr.tags.getListUser.html

onTagsGetListUserPopular

function onTagsGetListUserPopular(tagUserId: String,
tags: Array)

Called when there is a response from a call to flickr.tags.getListUserPopular.

Override this method in your application if you want to do something with the response to this call.

Parameters

tagUserIdThe id of the user whose tags are being returned
tagsAn array of tags (as objects containing tagName and count) associated with this user

See Also

Flickr.tagsGetListUserPopular

http://www.flickr.com- /services- /api- /flickr.tags.getListUserPopular.html

onTagsGetRelated

function onTagsGetRelated(tagSource: String,
tags: Array)

Called when there is a response from a call to flickr.tags.tagsGetRelated.

Override this method in your application if you want to do something with the response to this call.

Parameters

tagSourceThe tag you were getting related tags for.
tagsAn array of tags (as strings).

See Also

Flickr.tagsGetRelated

http://www.flickr.com- /services- /api- /flickr.tags.getRelated.html

onTestEcho

function onTestEcho(params: Object)

Called when there is a response from a call to flickr.test.echo.

Override this method in your application if you want to do something with the response to this call.

Parameters

paramsAn object with containing all the echo’d variables.

See Also

Flickr.testEcho

http://www.flickr.com- /services- /api- /flickr.test.echo.html

onTestLogin

function onTestLogin(userId: String,
username: String)

Called when there is a response from a call to flickr.test.login

Override this method in your application if you want to do something with the response to this call.

Parameters

userIdThe id of the logged in user.
usernameThe username of the logged in user.

See Also

Flickr.testLogin

http://www.flickr.com- /services- /api- /flickr.test.login.html

onError

function onError(errorCode: Number,
errorDescription: String,
method: String)

Called when the Flickr API returns an error code..

Override this method in your application so that it deals with the error.

Parameters

errorCodeThe code of this error.
errorDescriptionA description of this error.
methodThe Flickr API method that was called when this error occured.

onAPIResponse

function onAPIResponse(eventObject: Object)

Internal function which deals with a response from a Flickr API call and forwards any relevant arguments to the relevant function.

You shouldn’t need to override this function.

Parameters

eventObjectAn object containing all the relevant information about the API call
function onContactsGetList(contacts: Array)
Called when there is a response from a call to flickr.contacts.getList.
function onContactsGetPublicList(user: Person)
Called when there is a response from a call to flickr.contacts.getPublicList.
function onFavoritesAdd(photo: Photo,
email: String)
Called when there is a response from a call to flickr.favorites.add.
function onFavoritesGetList(user: Person,
email: String)
Called when there is a response from a call to flickr.favorites.getList.
function onFavoritesGetPublicList(user: Person)
Called when there is a response from a call to flickr.favorites.getPublicList.
function onFavoritesRemove(photo: Photo,
email: String)
Called when there is a response from a call to flickr.favorites.remove.
function onPeopleFindByEmail(email: String,
person: Person)
Called when there is a response from a call to flickr.people.findByEmail.
function onPeopleFindByUsername(username: String,
person: Person)
Called when there is a response from a call to flickr.people.findByUsername.
function onPeopleGetInfo(nsid: String,
person: Person)
Called when there is a response from a call to flickr.people.getInfo.
function onPeopleGetOnlineList(onlineList: Array)
Called when there is a response from a call to flickr.people.getOnlineList.
function onPeopleGetPublicGroups(person: Person)
Called when there is a response from a call to flickr.people.getPublicGroups.
function onPeopleGetPublicPhotos(person: Person)
Called when there is a response from a call to flickr.people.getPublicPhotos.
function onPhotosAddTags(photo: Photo,
tags: String,
email: String)
Called when there is a response from a call to flickr.photos.addTags.
function onPhotosGetContactsPhotos(photos: Array)
Called when there is a response from a call to flickr.people.getContactsPhotos.
function onPhotosGetContactsPublicPhotos(person: Person,
photos: Array)
Called when there is a response from a call to flickr.people.getContactsPhotos.
function onPhotosGetContext(photo: Photo)
Called when there is a response from a call to flickr.people.getContext.
function onPhotosGetCounts(counts: Array)
Called when there is a response from a call to flickr.people.getCounts.
function onPhotosGetExif(photo: Photo)
Called when there is a response from a call to flickr.people.getExif.
function onPhotosGetInfo(photo: Photo)
Called when there is a response from a call to flickr.people.getInfo.
function onPhotosGetNotInSet(photos: Array)
Called when there is a response from a call to flickr.people.getPhotosNotInSet.
function onPhotosGetPerms(photo: Array)
Called when there is a response from a call to flickr.people.getPerms.
function onPhotosGetRecent(photos: Array)
Called when there is a response from a call to flickr.people.getRecent.
function onPhotosGetSizes(photo: Photo)
Called when there is a response from a call to flickr.people.getSizes.
function onPhotosGetUntagged(photos: Array)
Called when there is a response from a call to flickr.people.getUntagged.
function onPhotosRemoveTag(tagId: Number,
email: String)
Called when there is a response from a call to flickr.people.removeTag.
function onPhotosSearch(photos: Array)
Called when there is a response from a call to flickr.people.search.
function onPhotosSetDates(photo: Photo)
Called when there is a response from a call to flickr.people.setDates.
function onPhotosSetMeta(photo: Photo)
Called when there is a response from a call to flickr.people.setMeta.
function onPhotosSetPerms(photo: Photo)
Called when there is a response from a call to flickr.people.setPerms.
function onPhotosSetTags(photo: Photo)
Called when there is a response from a call to flickr.people.setTags.
function onTagsGetListPhoto(photo: Photo)
Called when there is a response from a call to flickr.tags.tagsGetListPhoto.
function onTagsGetListUser(person: Person,
tags: Array)
Called when there is a response from a call to flickr.tags.getListUser.
function onTagsGetListUserPopular(tagUserId: String,
tags: Array)
Called when there is a response from a call to flickr.tags.getListUserPopular.
function onTagsGetRelated(tagSource: String,
tags: Array)
Called when there is a response from a call to flickr.tags.tagsGetRelated.
function onTestEcho(params: Object)
Called when there is a response from a call to flickr.test.echo.
function onTestLogin(userId: String,
username: String)
Called when there is a response from a call to flickr.test.login
function onError(errorCode: Number,
errorDescription: String,
method: String)
Called when the Flickr API returns an error code..
function onAPIResponse(eventObject: Object)
Internal function which deals with a response from a Flickr API call and forwards any relevant arguments to the relevant function.
public function callMethod(method: String,
additionalArguments: Object,
requiresAuthentication: Boolean):Void
Used to call a method on the flickr API.
Class to provide an interface to the Flickr API
Class to describe a person from Flickr.
public function contactsGetList()
Calls flickr.contacts.getList to get a list of contacts for the calling user.
function getPublicContacts():Object
Gets a list of the public contacts that this user has (if addPublicContact has been called for this user.
public function contactsGetPublicList(nsid: String)
Calls flickr.contacts.getPublicList to get a list of contacts a user.
public function favoritesAdd(photoId: Number,
email: String,
password: String)
Calls flickr.favorites.add to add a photo to a user’s favorites list.
function getFavorites():Object
Gets a list of the favorite Photo’s that this user has.
public function favoritesGetList(userId: String,
perPage: Number,
page: Number,
email: String,
password: String)
Calls flickr.favorites.getList to get a list of the user’s favorite photos.
public function favoritesGetPublicList(userId: String,
perPage: Number,
page: Number)
Calls flickr.favorites.getPublicList to get a list of favorite public photos for the given user.
public function favoritesRemove(photoId: Number,
email: String,
password: String)
Calls flickr.favorites.remove to remove a photo from a user’s favorites list.
function peopleFindByEmail(email: String)
Calls flickr.people.findByEmail to get a user’s NSID, given their email address.
function peopleFindByUsername(username: String)
Calls flickr.people.findByUsername to get a user’s NSID, given their username.
function peopleGetInfo(nsid: String)
Calls flickr.people.getInfo to get information about a user.
function peopleGetOnlineList()
Calls flickr.people.getOnlineList to get a list of all online users.
function peopleGetPublicGroups(nsid: String)
Calls flickr.people.getPublicGroups to get the list of public groups a user is a member of.
function peopleGetPublicPhotos(nsid: String,
perPage: Number,
page: Number)
Calls flickr.people.getPublicPhotos to get a list of public photos for the given user.
private var _photos: Array
An Array containing references to all of this Person’s photos.
Class to describe a photo from Flickr.
function photosAddTags (photoId: Number,
tags: String,
email: String,
password: String)
Calls flickr.photos.addTags to add tags to a given photo.
function photosGetContactsPhotos (count: Number,
justFriends: Boolean,
singlePhoto: Boolean,
includeSelf: Boolean,
email: String,
password: String)
Calls flickr.photos.getContactsPhotos to fetch a list of recent photos from the calling users’ contacts.
function photosGetContactsPublicPhotos (nsid: String,
count: Number,
justFriends: Boolean,
singlePhoto: Boolean,
includeSelf: Boolean)
Calls flickr.photos.getContactsPublicPhotos to fetch a list of recent public photos from a users’ contacts.
function photosGetContext (photoId: Number)
Calls flickr.photos.getContext to return next and previous photos for a photo in a photostream.
function photosGetCounts (dates: String,
takenDates: String,
email: String,
password: String)
Calls flickr.photos.getCounts to get a list of photo counts for the given date ranges for the calling user.
function photosGetExif (photoId: Number,
secret: String)
Calls flickr.photos.getExif to return a list of EXIF/TIFF/GPS tags for a given photo.
function photosGetInfo (photoId: Number,
secret: Number)
Calls flickr.photos.getInfo to get information about a photo..
function photosGetNotInSet (perPage: Number,
page: Number)
Calls flickr.photos.getNotInSet to get a list of your photos that are not part of any sets.
function photosGetPerms (photoId: Number)
Calls flickr.photos.getPerms to get permissions for a photo.
function photosGetSizes (photoId: Number)
Calls flickr.photos.getRecent to get the available sizes for a photo.
private var _sizes: Array
The PhotoSizes that are associated with this photo.
Class to describe the size of a Photo from Flickr.
function photosGetUntagged (perPage: Number,
page: Number)
Calls flickr.photos.getUntagged to get a list of your photos with no tags.
Class to describe a tag on a photo on Flickr.
function photosRemoveTag (tagId: Number)
Calls flickr.photos.removeTag to remove a tag from a photo.
function photosSearch (params)
Calls flickr.photos.search to get a list of photos matching some criteria.
function photosSetDates (photoId: Number,
datePosted: Date,
dateTaken: Date,
dateTakenGran: Number)
Calls flickr.photos.setDates to set one or both of the dates for a photo..
function photosSetMeta (photoId: Number,
title: String,
description: String)
Calls flickr.photos.setMeta to set the meta information for a photo.
function photosSetTags (photoId: Number,
tags: String)
Calls flickr.photos.setTags to set the tags for a photo.
function getTags():Object
Returns an object containing all the tags’s that are associated with this Photo.
public function tagsGetListPhoto(photoId: Number)
Calls flickr.tags.getListPhoto to get the tag list for a given photo.
public function tagsGetListUser(userId: String)
Calls flickr.tags.getListUser to get the tag list for a given user (or the currently logged in user).
public function tagsGetListUserPopular(userId: String,
count: Number)
Calls flickr.tags.getListUserPopular to get the popular tags for a given user (or the currently logged in user).
public function tagsGetRelated(tag: String)
Calls flickr.tags.getRelated to get a list of tags ‘related’ to the given tag, based on clustered usage analysis.
public function testEcho()
Calls flickr.test.echo - forwards any arguments on to the Flickr API
public function testLogin(email: String,
password: String)
Calls flickr.test.login - A testing method which checks if the caller is logged in then returns their username.