code: public T photos_getAlbums(Integer userId, Collection<Long> albumIds)
      throws FacebookException, IOException {
      boolean hasUserId = null != userId && userId != 0;
      boolean hasAlbumIds = null != albumIds && !albumIds.isEmpty();
      assert (hasUserId || hasAlbumIds); // one of the two must be provided
  
      if (hasUserId)
        return (hasAlbumIds) ?
               this.callMethod(FacebookMethod.PHOTOS_GET_ALBUMS, new Pair<String, CharSequence>("uid",
                                                                                                Integer.toString(userId)),
                               new Pair<String, CharSequence>("aids", delimit(albumIds))) :
               this.callMethod(FacebookMethod.PHOTOS_GET_ALBUMS,
                               new Pair<String, CharSequence>("uid", Integer.toString(userId)));
      else
        return this.callMethod(FacebookMethod.PHOTOS_GET_ALBUMS,
                               new Pair<String, CharSequence>("aids", delimit(albumIds)));
    }
docs: Retrieves album metadata. Pass a user id and/or a list of album ids to specify the albums
  to be retrieved (at least one must be provided)
  
  @param userId   (optional) the id of the albums' owner (optional)
  @param albumIds (optional) the ids of albums whose metadata is to be retrieved
  @return album objects
  @see <a href="http://wiki.developers.facebook.com/index.php/Photos.getAlbums">
  Developers Wiki: Photos.getAlbums</a>