コード例 #1
0
 /// <summary>
 /// Posts a link with the specified options. If successful, the ID of the created post is returned.
 /// </summary>
 /// <param name="identifier">The identifier of the user, page or similar.</param>
 /// <param name="options">The options for the link.</param>
 public FacebookPostLinkResponse PostLink(string identifier, FacebookPostLinkOptions options) {
     return FacebookPostLinkResponse.ParseResponse(Raw.PostLink(identifier, options));
 }
コード例 #2
0
 /// <summary>
 /// Posts a link with the specified options.
 /// </summary>
 /// <param name="identifier">The identifier of user, page or similar.</param>
 /// <param name="options">The options for the link.</param>
 public SocialHttpResponse PostLink(string identifier, FacebookPostLinkOptions options) {
     return Client.DoAuthenticatedPostRequest("/" + identifier + "/feed", options);
 }
コード例 #3
0
 /// <summary>
 /// Posts a link with the specified options to the feed of the authenticated user. If
 /// successful, the ID of the created post is returned.
 /// </summary>
 /// <param name="options">The options for the link.</param>
 public FacebookPostLinkResponse PostLink(FacebookPostLinkOptions options) {
     return PostLink("me", options);
 }