statuses.repost: Repost a weibo.

Description Usage Arguments Value Author(s) References Examples

Description

Repost a weibo.

Usage

1
statuses.repost(roauth, id, status, is_comment = 0, ...)

Arguments

roauth

A OAuth object created by createOAuth.

id

The weibo ID to be reposted.

status

Added repost content. It must be encoded by URLEncode within 140 Chinese characters. By default, the content is "Repost status".

is_comment

Whether post a comment at the same time. 0:no; 1:comment to the current weibo; 2:comment to the original weibo; 3:comment to the original and current weibo; Default is 0.

...

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

retweeted_status

Reposted weibo content

Author(s)

Jian Li <rweibo@sina.com>

References

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

Examples

1
2
3
4
5
## Not run: 

statuses.repost(roauth, id = "3543748358960699", status = "hello world")

## End(Not run)

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