Ejemplo n.º 1
0
 /// <summary>
 /// Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts.
 /// </summary>
 /// <param name="methodParams">A <see cref="WallPostParams"/> object with the params.</param>
 /// <returns>Returns the ID of the created post.</returns>
 public async Task <Response <int> > Post(WallPostParams methodParams)
 => await Request <int>("post", methodParams, false, "post_id");
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts.
 /// </summary>
 /// <param name="methodParams">A <see cref="WallPostParams"/> object with the params.</param>
 /// <returns>Returns the ID of the created post.</returns>
 public async Task<Response<int>> Post(WallPostParams methodParams)
     => await Request<int>("post", methodParams, false, "post_id");