/// <summary> /// Gets information about the app 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="SocialHttpResponse"/> representing the raw response.</returns> public SocialHttpResponse GetApplication(FacebookGetApplicationOptions options) { if (options == null) { throw new ArgumentNullException("options"); } if (String.IsNullOrWhiteSpace(options.Identifier)) { throw new PropertyNotSetException("options.Identifier", "A Facebook identifier (ID) must be specified."); } return(Client.DoHttpGetRequest("/" + options.Identifier, options)); }
/// <summary> /// Gets information about the app 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="FacebookGetApplicationResponse"/> representing the response.</returns> public FacebookGetApplicationResponse GetApplication(FacebookGetApplicationOptions options) { return(FacebookGetApplicationResponse.ParseResponse(Raw.GetApplication(options))); }