public T pages_getInfo(Integer userId, EnumSet<PageProfileField> fields)
    throws FacebookException, IOException {
    if (fields == null || fields.isEmpty()) {
      throw new IllegalArgumentException("fields cannot be empty or null");
    }
    if (userId == null) {
      userId = this._userId;
    }
    return this.callMethod(FacebookMethod.PAGES_GET_INFO,
                           new Pair<String, CharSequence>("uid",    userId.toString()),
                           new Pair<String, CharSequence>("fields", delimit(fields)));
  }
public T pages_getInfo ( Integer userId , EnumSet < PageProfileField > fields ) throws FacebookException , IOException { if ( fields == null || fields . isEmpty ( ) ) { throw new IllegalArgumentException ( "fields cannot be empty or null" ) ; } if ( userId == null ) { userId = this . _userId ; } return this . callMethod ( FacebookMethod . PAGES_GET_INFO , new Pair < String , CharSequence > ( "uid" , userId . toString ( ) ) , new Pair < String , CharSequence > ( "fields" , delimit ( fields ) ) ) ; }
Retrieves the requested profile fields for the Facebook Pages of the user with the given
<code>userId</code>.
@param userId the ID of a user about whose pages to fetch info (defaulted to the logged-in user)
@param fields a set of PageProfileFields
@return a T consisting of a list of pages, with each page element
containing the requested fields.
@see <a href="http://wiki.developers.facebook.com/index.php/Pages.getInfo">
Developers Wiki: Pages.getInfo</a>