comments.destroy: 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(roauth, cid, ...)

Arguments

roauth

A OAuth object created by createOAuth.

cid

The comment ID to be deleted.

...

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

Examples

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

com2 <- comments.create(roauth, id = "3543748358960699",
  comment = "huhu", comment_ori = 0)
comments.destroy(roauth, cid = as.character(com2$id))

## End(Not run)

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