CreateFavoritesSet
The CreateFavoritesSet method creates a new favorites set.
long CreateFavoritesSet(
string name,
string photographerLogin,
long[] photoIds
)Parameters
- name
- Name of the favorites set. This name is used to identify the favorites set to the photographer.
- photographerLogin
- Login name of the photographer whose photos are being added to the favorites set.
- photoIds
- An array of photo identifiers to add to the favorites set. All the photos must be owned by the same photographer whose login name is provided in the photographerLogin parameter.
Returns
Favorites set identifier.
Remarks
CreateFavoritesSet can be used by both authenticated and anonymous visitors. Anonymous visitors need to have their identity established with a call to AuthenticateVisitor prior to calling this method.
See Also