/// <summary> /// Creates a new album for the page or user with the specified <code>identifier</code>. /// </summary> /// <param name="identifier">The identifier (ID or name) of the page or user.</param> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns the ID of the created album.</returns> public FacebookPostAlbumResponse PostAlbum(string identifier, FacebookPostAlbumOptions options) { return FacebookPostAlbumResponse.ParseResponse(Raw.PostAlbum(identifier, options)); }
/// <summary> /// Creates a new album for the page or user matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> public SocialHttpResponse PostAlbum(FacebookPostAlbumOptions options) { if (options == null) throw new ArgumentNullException("options"); return Client.DoAuthenticatedPostRequest("/" + options.Identifier + "/albums", options); }
/// <summary> /// Creates a new album for the page or user with the specified <code>identifier</code>. /// </summary> /// <param name="identifier">The identifier (ID or name) of the page or user.</param> /// <param name="options">The options for the call to the API.</param> public SocialHttpResponse PostAlbum(string identifier, FacebookPostAlbumOptions options) { return Client.DoAuthenticatedPostRequest("/" + identifier + "/albums", options); }
/// <summary> /// Creates a new album for the page or user matching the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> public FacebookPostAlbumResponse PostAlbum(FacebookPostAlbumOptions options) { if (options == null) throw new ArgumentNullException("options"); return FacebookPostAlbumResponse.ParseResponse(Raw.PostAlbum(options)); }