コード例 #1
0
 /// <summary>
 /// Gets a list of likes for an object with the specified <code>id</code>.
 /// </summary>
 /// <param name="id">The ID of the object.</param>
 /// <param name="options">The options for the call to the API.</param>
 /// <see>
 ///     <cref>https://developers.facebook.com/docs/graph-api/reference/v2.2/object/likes#read</cref>
 /// </see>
 public SocialHttpResponse GetLikes(string id, FacebookLikesOptions options) {
     return Client.DoAuthenticatedGetRequest("/" + id + "/likes", options);
 }
コード例 #2
0
 /// <summary>
 /// Gets a list of likes of the user or page with the specified <code>identifier</code>.
 /// </summary>
 /// <param name="id">The ID of the object.</param>
 /// <param name="options">The options for the call to the API.</param>
 /// <see>
 ///     <cref>https://developers.facebook.com/docs/graph-api/reference/v2.2/object/likes#read</cref>
 /// </see>
 public FacebookLikesResponse GetLikes(string id, FacebookLikesOptions options) {
     return FacebookLikesResponse.ParseResponse(Raw.GetLikes(id, options));
 }