comments.create: Post a comment to a weibo.

Description Usage Arguments Value Author(s) References Examples

View source: R/comments.create.R

Description

Post a comment to a weibo.

Usage

1
comments.create(roauth, id, comment, comment_ori = 0, ...)

Arguments

roauth

A OAuth object created by createOAuth.

id

The ID of the weibo to be commented.

comment

The comment content.It must be encoded by URLEncode within 140 Chinese characters.

comment_ori

Whether comment the original weibo when comment a reposted weibo. 0: no; 1: yes; Default is 0.

...

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/create

Examples

1
2
3
4
5
## Not run: 

comments.create(roauth, id = "3543748358960699", comment = "hello", comment_ori = 0)

## End(Not run)

sjhfx/Rweibo documentation built on March 29, 2020, 11:37 p.m.