comments.destroy_batch: Delete a comment of authenticating user's.

Description Usage Arguments Value Author(s) References Examples

Description

Delete a comment of authenticating user's.

Usage

1
comments.destroy_batch(roauth, cids, ...)

Arguments

roauth

A OAuth object created by createOAuth.

cids

The ID of the comment to be deleted.These should be separated by simeangle comma, and are limited by 20 ID per call.

...

Other request parameters for this API.

Value

A list of:

created_at

Created time

id

Weibo ID

text

Weibo content

source

Weibo source

mid

Weibo MID

user

User profile that posted the weibo

status

The weibo that is commented

reply_comment

Replied comment information

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki/2/comments/destroy_batch

Examples

1
2
3
4
5
6
7
## Not run: 

com1 <- comments.create(roauth, id = "3543748358960699",
  comment = "hehe", comment_ori = 0)
comments.destroy_batch(roauth, cids = as.character(com1$id))

## End(Not run)

Rweibo documentation built on May 2, 2019, 5:23 p.m.