statuses.destroy: Delete a weibo by the ID.

Description Usage Arguments Value Note Author(s) References Examples

Description

Delete a weibo by the ID.

Usage

1
statuses.destroy(roauth, id, ...)

Arguments

roauth

A OAuth object created by createOAuth.

id

The weibo ID to be deleted.

...

Other request parameters for this API.

Value

A list of weibos, each weibo contains:

idstr

Weibo ID of string

created_at

Created time

id

Weibo ID

text

Weibo content

source

Weibo source

favorited

Whether it is favorited

truncated

Whether it is truncated

in_reply_to_status_id

The reply's ID

in_reply_to_user_id

Replyer ID

in_reply_to_screen_name

Replyer nickname

mid

Weibo MID

bmiddle_pic

Medium picture

original_pic

Original picture

thumbnail_pic

Thumbnail picture

reposts_count

Repost count

comments_count

Comment count

annotations

Weibo annotation information

geo

Geography information

user

User profile that posted the weibo

Note

You can only delete the weibo created by yourself.

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki/2/statuses/destroy

Examples

1
2
3
4
5
6
## Not run: 

rep1 <- statuses.repost(roauth, id = "3543748358960699", status = "hello")
statuses.destroy(roauth, id = rep1$idstr)

## End(Not run)

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