/// <summary> /// Gets a list of comments for the object with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the parent object.</param> /// <param name="fields">A collection of the fields that should be returned by the API.</param> /// <returns>An instance of <see cref="FacebookGetCommentsResponse"/> representing the response.</returns> public FacebookGetCommentsResponse GetComments(string identifier, FacebookFieldsCollection fields) { return(FacebookGetCommentsResponse.ParseResponse(Raw.GetComments(identifier, fields))); }
/// <summary> /// Gets a list of comments for the object with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier of the parent object.</param> /// <param name="limit">The maximum amount of comments to be returned per page.</param> /// <returns>An instance of <see cref="FacebookGetCommentsResponse"/> representing the response.</returns> public FacebookGetCommentsResponse GetComments(string identifier, int limit) { return(FacebookGetCommentsResponse.ParseResponse(Raw.GetComments(identifier, limit))); }
/// <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))); }