friendships.friends: Return the friends list of a user.

Description Usage Arguments Value Note Author(s) References Examples

Description

Return the friends list of a user.

Usage

1
friendships.friends(roauth, uid, screen_name, count = 20, cursor = 0, ...)

Arguments

roauth

A OAuth object created by createOAuth.

uid

User ID to be queried.

screen_name

User nickname to be queried.

count

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

cursor

The cursor of the returned data.The returned next_cursor is for the next page.The returned previous_cursor is for the previous page. Default is 0.

...

Other request parameters for this API.

Value

A list of user, which contains:

id

User ID

screen_name

User nickname

name

Friendly displayed name

province

Province ID user located

city

City ID user located

location

Address user located

description

User description

url

Url of the user's blog

profile_image_url

Profile image

domain

The user's personalized weibo url

gender

Gender, m : male; f : female; n : unknown

followers_count

Followers count

friends_count

Friends count

statuses_count

Weibo count

favourites_count

Favorites count

created_at

Created time

following

Whether the current user is following the user

allow_all_act_msg

Whether all the people can send direct message to the user

geo_enabled

Whether can have the geography information

verified

Whether the user is verified by his real identity, marked with "V"

allow_all_comment

Whether all the people can comment the user's weibo

avatar_large

Profile large image

verified_reason

verification reason

follow_me

Whether the user is following the current user

online_status

Whether the user is online, 0 : offline, 1 : online

bi_followers_count

The count of the users that are following the user and are being followed by the user

status

The latest weibo of the user

Note

You must provide a parameter either uid or screen_name.

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki/2/friendships/friends

Examples

1
2
3
4
5
## Not run: 

friendships.friends(roauth, uid = "1318558807")

## End(Not run)

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