API文档 V2/en

跳转到: 导航, 搜索
(Traffic Route Read API)
(撤销由Xuezheng讨论)所作出的修订8334)
 
(未显示1个用户的22个中间版本)
第1行: 第1行:
== Status API ==
+
== Weibo API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/statuses/public_timeline/en|statuses/public_timeline]] Return the latest public weibos
 
*[[2/statuses/public_timeline/en|statuses/public_timeline]] Return the latest public weibos
 
*[[2/statuses/friends_timeline/en|statuses/friends_timeline]]  Return the authenticating user’s and his friends’ latest weibos
 
*[[2/statuses/friends_timeline/en|statuses/friends_timeline]]  Return the authenticating user’s and his friends’ latest weibos
 
*[[2/statuses/home_timeline/en|statuses/home_timeline]]  Return the authenticating user’s and his friends’ latest weibos
 
*[[2/statuses/home_timeline/en|statuses/home_timeline]]  Return the authenticating user’s and his friends’ latest weibos
*[[2/statuses/friends_timeline/ids/en|statuses/friends_timeline/ids]]  Return the authenticating user’s and his friends’ latest weibos'ID
+
*[[2/statuses/friends_timeline/ids/en|statuses/friends_timeline/ids]]  Return the authenticating user’s and his friends’ latest weibos ID
 
*[[2/statuses/user_timeline/en|statuses/user_timeline]] Return the latest weibos of one user
 
*[[2/statuses/user_timeline/en|statuses/user_timeline]] Return the latest weibos of one user
*[[2/statuses/user_timeline/ids/en|statuses/user_timeline/ids]] Return the latest weibos'ID of one user<span style="color:red;">New!</span>
+
*[[2/statuses/user_timeline/ids/en|statuses/user_timeline/ids]] Return the latest weibos ID of one user{{Icon_new2}}
 
*[[2/statuses/repost_timeline/en|statuses/repost_timeline]] Return the latest of repost weibos of a original weibo
 
*[[2/statuses/repost_timeline/en|statuses/repost_timeline]] Return the latest of repost weibos of a original weibo
*[[2/statuses/repost_timeline/ids/en|statuses/repost_timeline/ids]] Return the latest of repost weibos'ID of a original weibo<span style="color:red;">New!</span>
+
*[[2/statuses/repost_timeline/ids/en|statuses/repost_timeline/ids]] Return the latest of repost weibos ID of a original weibo{{Icon_new2}}
 
*[[2/statuses/repost_by_me/en|statuses/repost_by_me]] Return the latest of repost weibos of authenticating user  
 
*[[2/statuses/repost_by_me/en|statuses/repost_by_me]] Return the latest of repost weibos of authenticating user  
 
*[[2/statuses/mentions/en|statuses/mentions]] Return the latest weibos metioned the authenticating user
 
*[[2/statuses/mentions/en|statuses/mentions]] Return the latest weibos metioned the authenticating user
*[[2/statuses/mentions/ids/en|statuses/mentions/ids]] Return the latest weibos‘ID metioned the authenticating user<span style="color:red;">New!</span>
+
*[[2/statuses/mentions/ids/en|statuses/mentions/ids]] Return the latest weibos‘ID metioned the authenticating user{{Icon_new2}}
*[[2/statuses/bilateral_timeline/en|statuses/bilateral_timeline]] Return the latest weibos of the users that are following the authenticating user and are being followed by the authenticating user<span style="color:red;">New!</span>
+
*[[2/statuses/bilateral_timeline/en|statuses/bilateral_timeline]] Return the latest weibos of the users that are following the authenticating user and are being followed by the authenticating user{{Icon_new2}}
 
*[[2/statuses/show/en|statuses/show]] Return the single weibo’s content by its ID
 
*[[2/statuses/show/en|statuses/show]] Return the single weibo’s content by its ID
 
*[[2/statuses/querymid/en|statuses/querymid]] Return the mid by ID
 
*[[2/statuses/querymid/en|statuses/querymid]] Return the mid by ID
第27行: 第27行:
 
*[[2/statuses/update/en|statuses/update]] Post a weibo
 
*[[2/statuses/update/en|statuses/update]] Post a weibo
 
*[[2/statuses/upload/en|statuses/upload]] Upload a picture with a new weibo
 
*[[2/statuses/upload/en|statuses/upload]] Upload a picture with a new weibo
*[[2/statuses/upload_url_text/en|statuses/upload_url_text]] Upload a picture by a picture URL with a new weibo
+
*[[2/statuses/upload_url_text/en|statuses/upload_url_text]] Upload a picture by a picture URL with a new weibo {{Icon_adv}}
 
*[[2/emotions/en|emotions]]  Emotion interface, return the emotion list
 
*[[2/emotions/en|emotions]]  Emotion interface, return the emotion list
  
== Comment API ==
+
== Comments API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/comments/show/en|comments/show]] Return comments of one weibo
 
*[[2/comments/show/en|comments/show]] Return comments of one weibo
第45行: 第45行:
 
*[[2/comments/reply/en|comments/reply]] Reply a comment
 
*[[2/comments/reply/en|comments/reply]] Reply a comment
  
== User API ==
+
== Users API ==
 
=== Read API ===
 
=== Read API ===
*[[2/users/show/en|users/show]] Return user profile by user ID<span style="color:red;">New!</span>
+
*[[2/users/show/en|users/show]] Return user profile by user ID{{Icon_new2}}
 
*[[2/users/domain_show/en|users/domain_show]] Return user profile and the latest weibo by user’s personalized weibo url
 
*[[2/users/domain_show/en|users/domain_show]] Return user profile and the latest weibo by user’s personalized weibo url
 
*[[2/users/counts/en|users/counts]] Return the followers counts,friends counts, and weibo counts of a batch of users
 
*[[2/users/counts/en|users/counts]] Return the followers counts,friends counts, and weibo counts of a batch of users
  
== Friendship API ==
+
== Friendships API ==
 
=== Friend Read API ===
 
=== Friend Read API ===
 
*[[2/friendships/friends/en|friendships/friends]] Return the friends list of a user
 
*[[2/friendships/friends/en|friendships/friends]] Return the friends list of a user
第72行: 第72行:
 
*[[2/friendships/create/en|friendships/create]] Follow a user
 
*[[2/friendships/create/en|friendships/create]] Follow a user
 
*[[2/friendships/destroy/en|friendships/destroy]]  Cancel following a user
 
*[[2/friendships/destroy/en|friendships/destroy]]  Cancel following a user
*[[2/friendships/remark/update/en|friendships/remark/update]] Update remarks of the friends
+
*[[2/friendships/remark/update/en|friendships/remark/update]] Update remarks of the friends {{Icon_adv}}
  
== Account API ==
+
== Accounts API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/account/get_privacy/en|account/get_privacy]] Return authenticating user’s privacy settings  
 
*[[2/account/get_privacy/en|account/get_privacy]] Return authenticating user’s privacy settings  
第84行: 第84行:
 
*[[2/account/end_session/en|account/end_session]] End the session of authenticating user
 
*[[2/account/end_session/en|account/end_session]] End the session of authenticating user
  
== Favorite API ==
+
== Favorites API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/favorites/en|favorites]] Return authenticating user’s favorites list
 
*[[2/favorites/en|favorites]] Return authenticating user’s favorites list
*[[2/favorites/ids/en|favorites/ids]] Return authenticating user’s favorites ID list
+
*[[2/favorites/ids/en|favorites/ids]] Return authenticating user’s favorites ID list{{Icon_new2}}
 
*[[2/favorites/show/en|favorites/show]] Return one of the user's favorites by ID
 
*[[2/favorites/show/en|favorites/show]] Return one of the user's favorites by ID
 
*[[2/favorites/by_tags/en|favorites/by_tags]] Return authenticating user’s favorites list of one tag
 
*[[2/favorites/by_tags/en|favorites/by_tags]] Return authenticating user’s favorites list of one tag
 
*[[2/favorites/tags/en|favorites/tags]] Return authenticating user’s favorites tag list
 
*[[2/favorites/tags/en|favorites/tags]] Return authenticating user’s favorites tag list
*[[2/favorites/by_tags/ids/en|favorites/by_tags/ids]] Return authenticating user’s favorites ID list of one tag
+
*[[2/favorites/by_tags/ids/en|favorites/by_tags/ids]] Return authenticating user’s favorites ID list of one tag{{Icon_new2}}
  
 
=== Write API ===
 
=== Write API ===
第101行: 第101行:
 
*[[2/favorites/tags/destroy_batch/en|favorites/tags/destroy_batch]] Delete a specified tag of authenticating user's all the favorites
 
*[[2/favorites/tags/destroy_batch/en|favorites/tags/destroy_batch]] Delete a specified tag of authenticating user's all the favorites
  
== Topic API ==
+
== Topics API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/trends/en|trends]] Return topics of a user
 
*[[2/trends/en|trends]] Return topics of a user
第113行: 第113行:
 
*[[2/trends/destroy/en|trends/destroy]] Cancel following a topic
 
*[[2/trends/destroy/en|trends/destroy]] Cancel following a topic
  
== Tag API ==
+
== Tags API ==
 
=== Read API ===
 
=== Read API ===
 
*[[2/tags/en|tags]] Return the tags list by  user ID
 
*[[2/tags/en|tags]] Return the tags list by  user ID
第138行: 第138行:
  
 
=== Content Search API ===
 
=== Content Search API ===
*[[2/search/statuses/en|search/statuses]] Search for weibos
+
*[[2/search/statuses/en|search/statuses]] Search for weibos {{Icon_adv}}
  
 
=== User Search API ===
 
=== User Search API ===
*[[2/search/users/en|search/users]] Search for users
+
*[[2/search/users/en|search/users]] Search for users {{Icon_adv}}
  
 
== Recommend API ==
 
== Recommend API ==
第148行: 第148行:
 
*[[2/suggestions/users/may_interested/en|suggestions/users/may_interested]] Return users the authenticating user may be interested in
 
*[[2/suggestions/users/may_interested/en|suggestions/users/may_interested]] Return users the authenticating user may be interested in
 
*[[2/suggestions/users/by_status/en|suggestions/users/by_status]] Return recommended users by the weibo content
 
*[[2/suggestions/users/by_status/en|suggestions/users/by_status]] Return recommended users by the weibo content
*[[2/suggestions/statuses/hot/en|suggestions/statuses/hot]] Return the selected weibos  
+
*[[2/suggestions/statuses/hot/en|suggestions/statuses/hot]] Return the selected weibos{{Icon_new2}}
 
*[[2/suggestions/statuses/reorder/en|suggestions/statuses/reorder]] Return authenticating user's friends' weibos by the interest recommended order
 
*[[2/suggestions/statuses/reorder/en|suggestions/statuses/reorder]] Return authenticating user's friends' weibos by the interest recommended order
 
*[[2/suggestions/statuses/reorder/ids/en|suggestions/statuses/reorder/ids]] Return authenticating user's friends' weibos ID list by the interest recommended order
 
*[[2/suggestions/statuses/reorder/ids/en|suggestions/statuses/reorder/ids]] Return authenticating user's friends' weibos ID list by the interest recommended order
第158行: 第158行:
 
== Remind API ==
 
== Remind API ==
 
=== Read API ===
 
=== Read API ===
*[[2/remind/unread_count/en|remind/unread_count]] Return all kinds of unread count of a user
+
*[[2/remind/unread_count/en|remind/unread_count]] Return all kinds of unread count of a user{{Icon_new2}}
  
 
== Public Service API ==
 
== Public Service API ==
 
=== Read API ===
 
=== Read API ===
*[[2/common/code_to_location/en|common/code_to_location]] Return address names by address codes
+
*[[2/common/code_to_location/en|common/code_to_location]] Return address names by address codes{{Icon_new2}}
*[[2/common/get_city/en|common/get_city]] Return cities list
+
*[[2/common/get_city/en|common/get_city]] Return cities list{{Icon_new2}}
*[[2/common/get_province/en|common/get_province]] Return provinces list
+
*[[2/common/get_province/en|common/get_province]] Return provinces list{{Icon_new2}}
*[[2/common/get_country/en|common/get_country]] Return countries list
+
*[[2/common/get_country/en|common/get_country]] Return countries list{{Icon_new2}}
*[[2/common/get_timezone/en|common/get_timezone]] Return timezone configurations list
+
*[[2/common/get_timezone/en|common/get_timezone]] Return timezone configurations list{{Icon_new2}}
  
 
== Geo  API ==
 
== Geo  API ==
第197行: 第197行:
 
*[[2/location/line/bus_station/en|location/line/bus_station]] Return bus station information by keyword
 
*[[2/location/line/bus_station/en|location/line/bus_station]] Return bus station information by keyword
  
== OAuth 2.0 API ==
+
== OAuth 2.0 API (Version 2 APIs only support OAuth 2.0 authorization)==
*[[2/oauth2/access_token/en|oauth2/access_token]]
+
*[[2/oauth2/access_token/en|oauth2/access_token]] Return authorized Access Token
*[[2/oauth2/authorize/en|oauth2/authorize]]  
+
*[[2/oauth2/authorize/en|oauth2/authorize]] Request user authorization
  
  

2012年4月17日 (二) 16:20的最后版本

目录

Weibo API

Read API

Write API

Comments API

Read API

Write API

Users API

Read API

  • users/show Return user profile by user ID
  • users/domain_show Return user profile and the latest weibo by user’s personalized weibo url
  • users/counts Return the followers counts,friends counts, and weibo counts of a batch of users

Friendships API

Friend Read API

Follower Read API

Friendship Chain Read API

Friendship Read API

Write API

Accounts API

Read API

Write API

Favorites API

Read API

Write API

Topics API

Read API

Write API

Tags API

Read API

Write API

Register API

Read API

Search API

Suggestion Search API

Content Search API

User Search API

Recommend API

Read API

Write API

Remind API

Read API

Public Service API

Read API

Geo API

Location Read API

Coordinate API

POI Data Read API

POI Data Write API

Mobile Service Read API

Traffic Route Read API

OAuth 2.0 API (Version 2 APIs only support OAuth 2.0 authorization)




Language: 中文  | English
文档更新时间: 2012-04-17