API文档 V2/en

跳转到: 导航, 搜索
第1行: 第1行:
== Status API==
+
== Status 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
第21行: 第21行:
 
*[[2/statuses/hot/comments_weekly/en|statuses/hot/comments_weekly]]
 
*[[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
 
*[[2/statuses/count/en|statuses/count]] Return the comment counts and repost counts of a list of weibos
===Write API ===
+
=== Write API ===
 
*[[2/statuses/repost/en|statuses/repost]] Repost a weibo
 
*[[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
+
*[[2/statuses/destroy/en|statuses/destroy]] Delete a weibo
*[[statuses/comments_by_me/en|statuses/comments_by_me]] Return comments made by the authenticating user
+
*[[2/statuses/update/en|statuses/update]] Post a weibo
*[[statuses/comments_to_me/en|statuses/comments_to_me]] Return comments the authenticating user received
+
*[[2/statuses/upload/en|statuses/upload]] Post a weibo with picture
*[[statuses/comments/en|statuses/comments]]  Return the weibo’s comment list by the weibo ID
+
*[[2/statuses/upload_url_text/en|statuses/upload_url_text]]
 +
*[[2/emotions/en|emotions]]  Emotion Iinterface, return the emotion list
  
 +
== Comment API ==
 +
=== Read API ===
 +
*[[2/comments/show/en|comments/show]]
 +
*[[2/comments/by_me/en|comments/by_me]]
 +
*[[2/comments/to_me/en|comments/to_me]]
 +
*[[2/comments/timeline/en|comments/timeline]]
 +
*[[2/comments/mentions/en|comments/mentions]]
 +
*[[2/comments/show_batch/en|comments/show_batch]]
 +
=== Write API ===
 +
*[[2/comments/create/en|comments/create]]
 +
*[[2/comments/destroy/en|comments/destroy]]
 +
*[[2/comments/destroy_batch/en|comments/destroy_batch]]
 +
*[[2/comments/reply/en|comments/reply]]
  
 +
== User API ==
 +
=== Read API ===
  
*[[statuses/unread/en|statuses/unread]] Return the authenticating user’s unread weibo count
+
=== Write API ===
*[[statuses/reset_count/en|statuses/reset_count]] Reset unread weibo count
+
*[[emotions/en|emotions]]  Emotion Iinterface, return the emotion list
+
  
=== Weibo Access API ===
 
  
 
*[[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/upload/en|statuses/upload]] Post a weibo with picture.
 
*[[statuses/destroy/en|statuses/destroy]] Delete 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_batch/en|statuses/comment/destroy_batch]] Delete a batch of comments of authenticating user's weibo
 
*[[statuses/reply/en|statuses/reply]] Replay a weibo comment
 
 
=== User API ===
 
 
*[[users/show/en|users/show]] Return user profile by user ID (autheriszed user)
 
*[[users/show/en|users/show]] Return user profile by user ID (autheriszed user)
 
<div style="display:none;">*[[user/friends/update_define/en|user/friends/update_define]] Update the following's remark</div>
 
<div style="display:none;">*[[user/friends/update_define/en|user/friends/update_define]] Update the following's remark</div>

2011年12月19日 (一) 18:57的版本

目录

Status API

Read API

Write API

Comment API

Read API

Write API

User API

Read API

Write API

  • user/statuses/id Jump to the content page of weibo by its ID and user ID.
  • 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