code: public T photos_get(Integer subjId, Long albumId, Collection<Long> photoIds)
      throws FacebookException, IOException {
      ArrayList<Pair<String, CharSequence>> params =
        new ArrayList<Pair<String, CharSequence>>(FacebookMethod.PHOTOS_GET.numParams());
  
      boolean hasUserId = null != subjId && 0 != subjId;
      boolean hasAlbumId = null != albumId && 0 != albumId;
      boolean hasPhotoIds = null != photoIds && !photoIds.isEmpty();
      if (!hasUserId && !hasAlbumId && !hasPhotoIds) {
        throw new IllegalArgumentException("At least one of photoIds, albumId, or subjId must be provided");
      }
  
      if (hasUserId)
        params.add(new Pair<String, CharSequence>("subj_id", Integer.toString(subjId)));
      if (hasAlbumId)
        params.add(new Pair<String, CharSequence>("aid", Long.toString(albumId)));
      if (hasPhotoIds)
        params.add(new Pair<String, CharSequence>("pids", delimit(photoIds)));
  
      return this.callMethod(FacebookMethod.PHOTOS_GET, params);
    }
docs: Used to retrieve photo objects using the search parameters (one or more of the
  parameters must be provided).
  
  @param subjId retrieve from photos associated with this user (optional).
  @param albumId retrieve from photos from this album (optional)
  @param photoIds retrieve from this list of photos (optional)
  @return an T of photo objects.
  @see <a href="http://wiki.developers.facebook.com/index.php/Photos.get">
  Developers Wiki: Photos.get</a>