/// <summary>
 /// Gets a list of comments 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="SocialHttpResponse"/> representing the raw response.</returns>
 public SocialHttpResponse GetComments(FacebookGetCommentsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentException("options");
     }
     if (String.IsNullOrWhiteSpace(options.Identifier))
     {
         throw new PropertyNotSetException("options.Identifier");
     }
     return(Client.DoHttpGetRequest("/" + options.Identifier + "/comments", options));
 }
Пример #2
0
 /// <summary>
 /// Gets a list of comments 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="FacebookGetCommentsResponse"/> representing the response.</returns>
 public FacebookGetCommentsResponse GetComments(FacebookGetCommentsOptions options)
 {
     return(FacebookGetCommentsResponse.ParseResponse(Raw.GetComments(options)));
 }