Description Usage Arguments Value Note Author(s) References Examples
Follow a user.
1 | friendships.create(roauth, uid, screen_name, ...)
|
roauth |
A OAuth object created by
|
uid |
User ID to be followed. |
screen_name |
User nickname to be followed. |
... |
Other request parameters for this API. |
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 |
You must provide a parameter either uid or screen_name.
Jian Li <rweibo@sina.com>
http://open.weibo.com/wiki/2/friendships/create
1 2 3 4 5 | ## Not run:
friendships.create(roauth, screen_name = "lijian001")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.