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