/// <summary> /// Gets information about the user with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the user.</param> /// <param name="fields">A collection of the fields that should be returned by the API.</param> /// <returns>An instance of <see cref="FacebookGetUserResponse"/> representing the response.</returns> public FacebookGetUserResponse GetUser(string identifier, FacebookFieldsCollection fields) { return(FacebookGetUserResponse.ParseResponse(Raw.GetUser(identifier, fields))); }
/// <summary> /// Gets information about the user matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="FacebookGetUserResponse"/> representing the response.</returns> public FacebookGetUserResponse GetUser(FacebookGetUserOptions options) { return(FacebookGetUserResponse.ParseResponse(Raw.GetUser(options))); }
/// <summary> /// Gets information about the user with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the user.</param> /// <returns>An instance of <see cref="FacebookGetUserResponse"/> representing the response.</returns> public FacebookGetUserResponse GetUser(string identifier) { return(FacebookGetUserResponse.ParseResponse(Raw.GetUser(identifier))); }