コード例 #1
0
 /// <summary>
 /// Posts a new photo to the feed of the user with the specified <code>identifier</code>.
 /// </summary>
 /// <param name="identifier">The ID of the user.</param>
 /// <param name="options">The options for the call to the API.</param>
 public SocialHttpResponse PostPhoto(string identifier, FacebookPostUserPhotoOptions options) {
     return Client.DoAuthenticatedPostRequest("/" + identifier + "/photos", options);
 }
コード例 #2
0
 /// <summary>
 /// Posts a new photo to the feed of the user with the specified <code>identifier</code>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 public FacebookPostPhotoResponse PostPhoto(FacebookPostUserPhotoOptions options) {
     if (options == null) throw new ArgumentNullException("options");
     return FacebookPostPhotoResponse.ParseResponse(Raw.PostPhoto(options));
 }
コード例 #3
0
 public FacebookPostPhotoResponse PostPhoto(string identifier, FacebookPostUserPhotoOptions options) {
     return FacebookPostPhotoResponse.ParseResponse(Raw.PostPhoto(identifier, options));
 }
コード例 #4
0
 /// <summary>
 /// Posts a new photo to the feed of the user matching the specified <code>options</code>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 public SocialHttpResponse PostPhoto(FacebookPostUserPhotoOptions options) {
     if (options == null) throw new ArgumentNullException("options");
     return Client.DoAuthenticatedPostRequest("/" + options.Identifier + "/photos", options);
 }