Return the latest weibos of one user.

Share:

Description

Return the latest weibos of one user.

Usage

1
2
statuses.user_timeline(roauth, uid, screen_name, count = 20, page = 1,
  base_app = 0, feature = 0, trim_user = 0, ...)

Arguments

roauth

A OAuth object created by createOAuth.

uid

Specified ID of a user.

screen_name

The nickname of the user that ID is specified.

count

The returned count for every page.The default value is 20.

page

The returned page.The default value is 1.

base_app

Whether get the data based on current application only. 1 is only current application; 0 is no limitation. The default value is 0.

feature

Return the weibos by weibo type. 0 : all types; 1 : original; 2 : picture; 3 : video; 4 : music; The default value is 0.

trim_user

The control of the user information. 0 : Return the whole user informatio; 1 : Return the user_id only. The default value 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

Author(s)

Jian Li <rweibo@sina.com>

References

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

Examples

1
2
3
4
5
## Not run: 

statuses.user_timeline(roauth, screen_name = "lijian001", count = 5)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.