/** * Get public photos from the user's contacts. * * This method does not require authentication. * * @see com.flickr4java.flickr.photos.Extras * @param userId * The user ID * @param count * The number of photos to return * @param justFriends * True to include friends * @param singlePhoto * True to get a single photo * @param includeSelf * True to include self * @return A collection of Photo objects * @throws FlickrException */ public PhotoList<Photo> getContactsPublicPhotos(String userId, int count, boolean justFriends, boolean singlePhoto, boolean includeSelf) throws FlickrException { return getContactsPublicPhotos(userId, Extras.MIN_EXTRAS, count, justFriends, singlePhoto, includeSelf); }
/** * Get public photos from the user's contacts. * * This method does not require authentication. * * @see com.flickr4java.flickr.photos.Extras * @param userId * The user ID * @param count * The number of photos to return * @param justFriends * True to include friends * @param singlePhoto * True to get a single photo * @param includeSelf * True to include self * @return A collection of Photo objects * @throws FlickrException */ public PhotoList<Photo> getContactsPublicPhotos(String userId, int count, boolean justFriends, boolean singlePhoto, boolean includeSelf) throws FlickrException { return getContactsPublicPhotos(userId, Extras.MIN_EXTRAS, count, justFriends, singlePhoto, includeSelf); }