/// <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); }
/// <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)); }
public FacebookPostPhotoResponse PostPhoto(string identifier, FacebookPostUserPhotoOptions options) { return FacebookPostPhotoResponse.ParseResponse(Raw.PostPhoto(identifier, options)); }
/// <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); }