/// <summary> /// Gets a list of likes for the object 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="IHttpResponse"/> representing the raw response.</returns> public IHttpResponse GetLikes(FacebookGetLikesOptions options) { if (options == null) { throw new ArgumentException(nameof(options)); } if (String.IsNullOrWhiteSpace(options.Identifier)) { throw new PropertyNotSetException(nameof(options.Identifier), "A Facebook identifier (ID) must be specified."); } return(Client.DoHttpGetRequest("/" + options.Identifier + "/likes", options)); }
/// <summary> /// Gets a list of likes for the object 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="FacebookGetLikesResponse"/> representing the response.</returns> public FacebookGetLikesResponse GetLikes(FacebookGetLikesOptions options) { return(FacebookGetLikesResponse.ParseResponse(Raw.GetLikes(options))); }