public Favorites getFavorites(String photoId, int page, int perPage) throws JinxException {
    JinxUtils.validateParams(photoId);
    Map<String, String> params = new TreeMap<>();
    params.put("method", "flickr.photos.getFavorites");
    params.put("photo_id", photoId);
    if (page > 0) {
      params.put("page", Integer.toString(page));
    }
    if (perPage > 0) {
      params.put("per_page", Integer.toString(perPage));
    }
    return jinx.flickrGet(params, Favorites.class);
  }
public Favorites getFavorites ( String photoId , int page , int perPage ) throws JinxException { JinxUtils . validateParams ( photoId ) ; Map < String , String > params = new TreeMap < > ( ) ; params . put ( "method" , "flickr.photos.getFavorites" ) ; params . put ( "photo_id" , photoId ) ; if ( page > 0 ) { params . put ( "page" , Integer . toString ( page ) ) ; } if ( perPage > 0 ) { params . put ( "per_page" , Integer . toString ( perPage ) ) ; } return jinx . flickrGet ( params , Favorites . class ) ; }
Returns the list of people who have favorited a given photo.
<br>
This method does not require authentication.

@param photoId Required. The id of the photo to fetch information for.
@param page    page of results to return. If this argument is zero, it defaults to 1.
@param perPage number of people to return per page. If this argument is zero, it defaults to 10. The maximum allowed value is 50.
@return object containing limited information about the photo, and a list of people who have favorited the photo.
@throws JinxException if required parameters are null or empty, or if there are errors.
@see <a href="https://www.flickr.com/services/api/flickr.photos.getFavorites.html">flickr.photos.getFavorites</a>