code: public Photos getContactsPhotos(int count, boolean justFriends, boolean singlePhoto, boolean includeSelf,
                                    EnumSet<JinxConstants.PhotoExtras> extras) throws JinxException {
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.photos.getContactsPhotos");
      if (count > 0) {
        params.put("count", Integer.toString(count));
      }
      if (justFriends) {
        params.put("just_friends", "1");
      }
      if (singlePhoto) {
        params.put("single_photo", "1");
      }
      if (includeSelf) {
        params.put("include_self", "1");
      }
      if (!JinxUtils.isNullOrEmpty(extras)) {
        params.put("extras", JinxUtils.buildCommaDelimitedList(extras));
      }
      return jinx.flickrGet(params, Photos.class);
    }
docs: Fetch a list of recent photos from the calling users' contacts.
  <br>
  This method requires authentication with 'read' permission.
  
  @param count       Number of photos to return. If zero, defaults to 10, maximum 50. This is only used if singlePhoto is not true.
  @param justFriends if true, only show photos from friends and family (excluding regular contacts).
  @param singlePhoto if true, only fetch one photo (the latest) per contact, instead of all photos in chronological order.
  @param includeSelf if true, include photos from the calling user.
  @param extras      set of extra information to fetch for each returned record.
  @return object containing data about the photos returned, and a list of photos.
  @throws JinxException if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.photos.getContactsPhotos.html">flickr.photos.getContactsPhotos</a>