API文档 V2/en

跳转到: 导航, 搜索
第4行: 第4行:
 
*[[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 authenticating user’s latest weibos
 
*[[2/statuses/user_timeline/en|statuses/user_timeline]] Return the authenticating user’s latest weibos
*[[statuses/mentions/en|statuses/mentions]] Return the authenticating user’s mentions
+
*[[2/statuses/user_timeline/ids/en|statuses/user_timeline/ids]] Return the authenticating user’s latest weibos'ID<span style="color:red;">New!</span>
 +
*[[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_by_me/en|statuses/repost_by_me]] Return the latest repost weibos of authenticating user
 +
*[[2/statuses/mentions/en|statuses/mentions]] Return the authenticating user’s mentions
 +
*[[2/statuses/mentions/ids/en|statuses/mentions/ids]] Return the authenticating user’s mentions'ID<span style="color:red;">New!</span>
 +
*[[2/statuses/bilateral_timeline/en|statuses/bilateral_timeline]] Return the user's latest weibos that followed the authenticating user and is followed by the authenticating user<span style="color:red;">New!</span>
 +
*[[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/queryid/en|statuses/queryid]] Return the ID by mid
 +
*[[2/statuses/hot/repost_daily/en|statuses/hot/repost_daily]]
 +
*[[2/statuses/hot/repost_weekly/en|statuses/hot/repost_weekly]]
 +
*[[2/statuses/hot/comments_daily/en|statuses/hot/comments_daily]]
 +
*[[2/statuses/hot/comments_weekly/en|statuses/hot/comments_weekly]]
 +
*[[2/statuses/count/en|statuses/count]] Return the comment counts and repost counts of a list of weibos
 +
===Write API ===
 +
*[[2/statuses/repost/en|statuses/repost]] Repost a weibo
 
*[[statuses/comments_timeline/en|statuses/comments_timeline]] Return comments of the authenticating user made and received
 
*[[statuses/comments_timeline/en|statuses/comments_timeline]] Return comments of the authenticating user made and received
 
*[[statuses/comments_by_me/en|statuses/comments_by_me]] Return comments made by the authenticating user
 
*[[statuses/comments_by_me/en|statuses/comments_by_me]] Return comments made by the authenticating user
 
*[[statuses/comments_to_me/en|statuses/comments_to_me]] Return comments the authenticating user received
 
*[[statuses/comments_to_me/en|statuses/comments_to_me]] Return comments the authenticating user received
 
*[[statuses/comments/en|statuses/comments]]  Return the weibo’s comment list by the weibo ID
 
*[[statuses/comments/en|statuses/comments]]  Return the weibo’s comment list by the weibo ID
*[[statuses/counts/en|statuses/counts]] Return the comment counts and repost counts of a list of weibos
+
 
*[[statuses/repost_timeline/en|statuses/repost_timeline]] Return the latest of repost weibos of a original weibo.  <span style="color:red;">New!</span>
+
 
*[[statuses/repost_by_me/en|statuses/repost_by_me]] Return the latest repost weibos of authenticating user <span style="color:red;">New!</span>
+
 
 
*[[statuses/unread/en|statuses/unread]] Return the authenticating user’s unread weibo count
 
*[[statuses/unread/en|statuses/unread]] Return the authenticating user’s unread weibo count
 
*[[statuses/reset_count/en|statuses/reset_count]] Reset unread weibo count
 
*[[statuses/reset_count/en|statuses/reset_count]] Reset unread weibo count
第19行: 第35行:
  
 
=== Weibo Access API ===
 
=== Weibo Access API ===
*[[statuses/show/en|statuses/show]] Return the single weibo’s content by its ID
+
 
 
*[[user/statuses/id/en|user/statuses/id]]  Jump to the content page of weibo by its ID and user ID.
 
*[[user/statuses/id/en|user/statuses/id]]  Jump to the content page of weibo by its ID and user ID.
 
*[[statuses/update/en|statuses/update]] Post a weibo <span style="color:red">Updated!</span>
 
*[[statuses/update/en|statuses/update]] Post a weibo <span style="color:red">Updated!</span>
 
*[[statuses/upload/en|statuses/upload]] Post a weibo with picture.
 
*[[statuses/upload/en|statuses/upload]] Post a weibo with picture.
 
*[[statuses/destroy/en|statuses/destroy]] Delete a weibo
 
*[[statuses/destroy/en|statuses/destroy]] Delete a weibo
*[[statuses/repost/en|statuses/repost]] Repost a weibo <span style="color:red">Updated!</span>
+
 
 
*[[statuses/comment/en|statuses/comment]] Post a comment to a weibo
 
*[[statuses/comment/en|statuses/comment]] Post a comment to a weibo
 
*[[statuses/comment_destroy/en|statuses/comment_destroy/:id]] Delete the authenticating user’s weibo
 
*[[statuses/comment_destroy/en|statuses/comment_destroy/:id]] Delete the authenticating user’s weibo

2011年12月19日 (一) 17:02的版本

目录

Status API

Read API

Write API


Weibo Access API

User API

  • users/show Return user profile by user ID (autheriszed user)
*user/friends/update_define Update the following's remark

Direct message API

Friendships API

Trends API Beta!

Social Graph API

Privacy API [NEW]

Block API [NEW]

Tags API [NEW]

Account API

Favorites API

OAuth API

*xAuth about xAuth

Search API

Note: The Search API currently is not available for all the developers. please contact @微博开放平台 or email us at weibo_app@vip.sina.com for more info.

User search

Weibo Search API

Geo API

Geo API is not available for all developers. Any questions, please contact @地理信息开放平台, or email us at weibo_app@vip.sina.com for more info.

Geo search API

Geo transformation API

  • location/ip2xy Return the coordinated longitude and langtitude by IP address
  • location/addr2xy Return the coordinated longitude and langtitude by the street address
  • location/get_addr Return the street address of the specific longitude and langtitude

Test API

Appendix

Rest API Field Description

Geo field description



Language: 中文  | English