跳转到: 导航, 搜索
 
(未显示1个用户的5个中间版本)
第4行: 第4行:
 
<ul class="clearfix">
 
<ul class="clearfix">
 
<li>[[#粉丝服务接口|Messages API]]</li>
 
<li>[[#粉丝服务接口|Messages API]]</li>
                        <li>[[#邀请接口|Invitation API]]</li>
 
 
                         <li>[[#微博|Weibo API]]</li>
 
                         <li>[[#微博|Weibo API]]</li>
 
<li>[[#评论|Comments API]]</li>
 
<li>[[#评论|Comments API]]</li>
第21行: 第20行:
 
<li>[[#提醒|Remind API]]</li>
 
<li>[[#提醒|Remind API]]</li>
 
<li>[[#短链|Short Url API]]</li>
 
<li>[[#短链|Short Url API]]</li>
<li>[[#通知|Notification API]]</li>
 
 
<li>[[#公共服务|Public Service API]]</li>
 
<li>[[#公共服务|Public Service API]]</li>
 
<li>[[#位置服务|Geo API]]</li>
 
<li>[[#位置服务|Geo API]]</li>
<li>[[#地理信息|Place API]]</li>
 
                        <li>[[#OAuth2|OAuth 2.0 API]]</li>
 
 
                         <li>[[Map-JS|Map JS API]]</li>
 
                         <li>[[Map-JS|Map JS API]]</li>
 
                         <li>[[支付|Pay API]]</li>
 
                         <li>[[支付|Pay API]]</li>
 
+
                        <li>[[#OAuth2|OAuth 2.0 API]]</li>
 
</ul>
 
</ul>
 
</div>
 
</div>
  
<p class="tips_txt">标识为 {{Icon_adv}} 的接口为高级权限接口,需要申请才可以调用,learn more with the [[高级接口申请|Apply for Adv API]]</p>
+
<p class="tips_txt">Some API that marked by {{Icon_adv}} icon is advanced API, means you must apply for it, learn more with the [[高级接口申请|Apply for Adv API]]</p>
<p class="tips_txt">标识为 {{Icon_scope}} 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,learn more with the [[scope]]</p>
+
<p class="tips_txt">Marked by {{Icon_scope}} icon, these API must request user‘s authorization of SCOPE additional, learn more with the [[scope]]</p>
  
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
第54行: 第50行:
 
|}
 
|}
  
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
<html><colgroup><col class="tbF1"/><col class="tbF2" /><col /></colgroup></html>
 
!colspan="3" scope="col"|<span id="邀请接口">Invitation API([[messages#.E5.A5.BD.E5.8F.8B.E9.82.80.E8.AF.B7|learn more]])</span>
 
|-
 
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/messages/invite/en|messages/invite]]
 
|向互粉好友发送私信邀请、送礼物消息接口 {{Icon_new2}}
 
|}
 
  
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
第232行: 第220行:
 
|-
 
|-
 
|[[2/friendships/friends/remark_batch/en|friendships/friends/remark_batch]]
 
|[[2/friendships/friends/remark_batch/en|friendships/friends/remark_batch]]
|批量获取当前登录用户的关注人的备注信息 {{Icon_adv}} {{Icon_new2}}
+
|Return remarks of a batch of the authenticating user's friends {{Icon_adv}} {{Icon_new2}}
 
|-
 
|-
 
|[[2/friendships/friends/in_common/en|friendships/friends/in_common]]
 
|[[2/friendships/friends/in_common/en|friendships/friends/in_common]]
第248行: 第236行:
 
|rowspan="3" style="text-align:center;"|Follower Read API
 
|rowspan="3" style="text-align:center;"|Follower Read API
 
|[[2/friendships/followers/en|friendships/followers]]
 
|[[2/friendships/followers/en|friendships/followers]]
|获取用户粉丝列表
+
|Return the followers list of a user
 
|-
 
|-
 
|[[2/friendships/followers/ids/en|friendships/followers/ids]]
 
|[[2/friendships/followers/ids/en|friendships/followers/ids]]
|获取用户粉丝UID列表
+
|Return the followers ID list of a user
 
|-
 
|-
 
|[[2/friendships/followers/active/en|friendships/followers/active]]
 
|[[2/friendships/followers/active/en|friendships/followers/active]]
|获取用户优质粉丝列表
+
|Return the high quality followers list of a user
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Friendship Chain Read API
 
|rowspan="1" style="text-align:center;"|Friendship Chain Read API
 
|[[2/friendships/friends_chain/followers/en|friendships/friends_chain/followers]]
 
|[[2/friendships/friends_chain/followers/en|friendships/friends_chain/followers]]
|获取我的关注人中关注了指定用户的人
+
|Return users that are being followed by the authenticating user and are following the specified user
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Friendship Read API
 
|rowspan="1" style="text-align:center;"|Friendship Read API
 
|[[2/friendships/show/en|friendships/show]]
 
|[[2/friendships/show/en|friendships/show]]
|获取两个用户关系的详细情况
+
|Return relationship of two users
 
|-
 
|-
 
|rowspan="4" style="text-align:center;"|Write API
 
|rowspan="4" style="text-align:center;"|Write API
 
|[[2/friendships/create/en|friendships/create]]
 
|[[2/friendships/create/en|friendships/create]]
|关注某用户
+
|Follow a user
 
|-
 
|-
 
|[[2/friendships/destroy/en|friendships/destroy]]
 
|[[2/friendships/destroy/en|friendships/destroy]]
|取消关注某用户
+
|Unfollowing a user
 
|-
 
|-
 
|[[2/friendships/followers/destroy/en|friendships/followers/destroy]]
 
|[[2/friendships/followers/destroy/en|friendships/followers/destroy]]
|移除当前登录用户的粉丝 {{Icon_adv}}
+
|Remove a follower of the authenticating user {{Icon_adv}}
 
|-
 
|-
 
|[[2/friendships/remark/update/en|friendships/remark/update]]
 
|[[2/friendships/remark/update/en|friendships/remark/update]]
|更新关注人备注 {{Icon_adv}}
+
|Update remarks of the friends {{Icon_adv}}
 
|}
 
|}
  
第345行: 第333行:
 
|rowspan="5" style="text-align:center;"|Read API
 
|rowspan="5" style="text-align:center;"|Read API
 
|[[2/account/get_privacy/en|account/get_privacy]]
 
|[[2/account/get_privacy/en|account/get_privacy]]
|获取隐私设置信息
+
|Return authenticating user’s privacy settings
 
|-
 
|-
 
|[[2/account/profile/school_list/en|account/profile/school_list]]
 
|[[2/account/profile/school_list/en|account/profile/school_list]]
|获取所有学校列表
+
|Return the school list
 
|-
 
|-
 
|[[2/account/rate_limit_status/en|account/rate_limit_status]]
 
|[[2/account/rate_limit_status/en|account/rate_limit_status]]
|获取当前用户API访问频率限制
+
|Return the authenticating user’s API access rate limitation
 
|-
 
|-
 
|[[2/account/profile/email/en|account/profile/email]]
 
|[[2/account/profile/email/en|account/profile/email]]
|获取用户的联系邮箱{{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
+
|获取用户的联系邮箱{{Icon_adv}} {{Icon_scope}}
 
|-
 
|-
 
|[[2/account/get_uid/en|account/get_uid]]
 
|[[2/account/get_uid/en|account/get_uid]]
|OAuth授权之后获取用户UID(作用相当于旧版接口的 [[account/verify_credentials]])
+
|Return user ID after OAuth authorization
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Write API
 
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/account/end_session/en|account/end_session]]
 
|[[2/account/end_session/en|account/end_session]]
|退出登录
+
|End the session of authenticating user
 
|}
 
|}
  
第370行: 第358行:
 
|rowspan="6" style="text-align:center;"|Read API
 
|rowspan="6" style="text-align:center;"|Read API
 
|[[2/favorites/en|favorites]]
 
|[[2/favorites/en|favorites]]
|获取当前用户的收藏列表
+
|Return authenticating user’s favorites list
 
|-
 
|-
 
|[[2/favorites/ids/en|favorites/ids]]
 
|[[2/favorites/ids/en|favorites/ids]]
|获取当前用户的收藏列表的ID {{Icon_new2}}
+
|Return authenticating user’s favorites ID list
 
|-
 
|-
 
|[[2/favorites/show/en|favorites/show]]
 
|[[2/favorites/show/en|favorites/show]]
|获取单条收藏信息
+
|Return one of the user's favorites by ID
 
|-
 
|-
 
|[[2/favorites/by_tags/en|favorites/by_tags]]
 
|[[2/favorites/by_tags/en|favorites/by_tags]]
|获取当前用户某个标签下的收藏列表
+
|Return authenticating user’s favorites list of one tag
 
|-
 
|-
 
|[[2/favorites/tags/en|favorites/tags]]
 
|[[2/favorites/tags/en|favorites/tags]]
|当前登录用户的收藏标签列表
+
|Return authenticating user’s favorites tag list
 
|-
 
|-
 
|[[2/favorites/by_tags/ids/en|favorites/by_tags/ids]]
 
|[[2/favorites/by_tags/ids/en|favorites/by_tags/ids]]
|获取当前用户某个标签下的收藏列表的ID {{Icon_new2}}
+
|Return authenticating user’s favorites ID list of one tag
 
|-
 
|-
 
|rowspan="6" style="text-align:center;"|Write API
 
|rowspan="6" style="text-align:center;"|Write API
 
|[[2/favorites/create/en|favorites/create]]
 
|[[2/favorites/create/en|favorites/create]]
|添加收藏
+
|Add a weibo to the favorite list
 
|-
 
|-
 
|[[2/favorites/destroy/en|favorites/destroy]]
 
|[[2/favorites/destroy/en|favorites/destroy]]
|删除收藏
+
|Remove a weibo from favorite list of the authenticating user
 
|-
 
|-
 
|[[2/favorites/destroy_batch/en|favorites/destroy_batch]]
 
|[[2/favorites/destroy_batch/en|favorites/destroy_batch]]
|批量删除收藏
+
|Remove a batch of favorites from favorite list
 
|-
 
|-
 
|[[2/favorites/tags/update/en|favorites/tags/update]]
 
|[[2/favorites/tags/update/en|favorites/tags/update]]
|更新收藏标签
+
|Update the tag of a favorite
 
|-
 
|-
 
|[[2/favorites/tags/update_batch/en|favorites/tags/update_batch]]
 
|[[2/favorites/tags/update_batch/en|favorites/tags/update_batch]]
|更新当前用户所有收藏下的指定标签
+
|Update a specified tag of authenticating user's all the favorites
 
|-
 
|-
 
|[[2/favorites/tags/destroy_batch/en|favorites/tags/destroy_batch]]
 
|[[2/favorites/tags/destroy_batch/en|favorites/tags/destroy_batch]]
|删除当前用户所有收藏下的指定标签
+
|Delete a specified tag of authenticating user's all the favorites
 
|}
 
|}
  
第413行: 第401行:
 
|rowspan="3" style="text-align:center;"|Read API
 
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/trends/hourly/en|trends/hourly]]
 
|[[2/trends/hourly/en|trends/hourly]]
|返回最近一小时内的热门话题
+
|Return hot topics by hour
 
|-
 
|-
 
|[[2/trends/daily/en|trends/daily]]
 
|[[2/trends/daily/en|trends/daily]]
|返回最近一天内的热门话题
+
|Return hot topics by day
 
|-
 
|-
 
|[[2/trends/weekly/en|trends/weekly]]
 
|[[2/trends/weekly/en|trends/weekly]]
|返回最近一周内的热门话题
+
|Return hot topics by week
 
|}
 
|}
  
第456行: 第444行:
 
|rowspan="3" style="text-align:center;"|Read API
 
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/tags/en|tags]]
 
|[[2/tags/en|tags]]
|返回指定用户的标签列表
+
|Return the tags list by user ID
 
|-
 
|-
 
|[[2/tags/tags_batch/en|tags/tags_batch]]
 
|[[2/tags/tags_batch/en|tags/tags_batch]]
|批量获取用户标签
+
|Return the tags list of a batch of users
 
|-
 
|-
 
|[[2/tags/suggestions/en|tags/suggestions]]
 
|[[2/tags/suggestions/en|tags/suggestions]]
|返回系统推荐的标签列表
+
|Return the recommended tags list for the authenticating user
 
|-
 
|-
 
|rowspan="3" style="text-align:center;"|Write API
 
|rowspan="3" style="text-align:center;"|Write API
 
|[[2/tags/create/en|tags/create]]
 
|[[2/tags/create/en|tags/create]]
|添加用户标签
+
|Create tags for the authenticating user
 
|-
 
|-
 
|[[2/tags/destroy/en|tags/destroy]]
 
|[[2/tags/destroy/en|tags/destroy]]
|删除用户标签
+
|Delete a tag for the authenticating user
 
|-
 
|-
 
|[[2/tags/destroy_batch/en|tags/destroy_batch]]
 
|[[2/tags/destroy_batch/en|tags/destroy_batch]]
|批量删除用户标签
+
|Delete a batch of tags for the authenticating user
 
|}
 
|}
  
第481行: 第469行:
 
|rowspan="1" style="text-align:center;"|Read API
 
|rowspan="1" style="text-align:center;"|Read API
 
|[[2/register/verify_nickname/en|register/verify_nickname]]
 
|[[2/register/verify_nickname/en|register/verify_nickname]]
|验证昵称是否可用
+
|Whether a specified nickname is available
 
|}
 
|}
  
第490行: 第478行:
 
|rowspan="5" style="text-align:center;"|Suggestion Search API
 
|rowspan="5" style="text-align:center;"|Suggestion Search API
 
|[[2/search/suggestions/users/en|search/suggestions/users]]
 
|[[2/search/suggestions/users/en|search/suggestions/users]]
|搜用户搜索建议
+
|Suggestions for searching users
 
|-
 
|-
 
|[[2/search/suggestions/schools/en|search/suggestions/schools]]
 
|[[2/search/suggestions/schools/en|search/suggestions/schools]]
|搜学校搜索建议
+
|Suggestions for searching schools
 
|-
 
|-
 
|[[2/search/suggestions/companies/en|search/suggestions/companies]]
 
|[[2/search/suggestions/companies/en|search/suggestions/companies]]
|搜公司搜索建议
+
|Suggestions for searching companies
 
|-
 
|-
 
|[[2/search/suggestions/apps/en|search/suggestions/apps]]
 
|[[2/search/suggestions/apps/en|search/suggestions/apps]]
|搜应用搜索建议
+
|Suggestions for searching applications
 
|-
 
|-
 
|[[2/search/suggestions/at_users/en|search/suggestions/at_users]]
 
|[[2/search/suggestions/at_users/en|search/suggestions/at_users]]
|@联想搜索
+
|Suggestions for '@username'
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Topics Search API
 
|rowspan="1" style="text-align:center;"|Topics Search API
第515行: 第503行:
 
|rowspan="6" style="text-align:center;"|Read API
 
|rowspan="6" style="text-align:center;"|Read API
 
|[[2/suggestions/users/hot/en|suggestions/users/hot]]
 
|[[2/suggestions/users/hot/en|suggestions/users/hot]]
|获取系统推荐用户
+
|Return system recommended users
 
|-
 
|-
 
|[[2/suggestions/users/may_interested/en|suggestions/users/may_interested]]
 
|[[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]]
 
|[[2/suggestions/users/by_status/en|suggestions/users/by_status]]
|根据微博内容推荐用户
+
|Return recommended users by the weibo content
 
|-
 
|-
 
|[[2/suggestions/statuses/reorder/en|suggestions/statuses/reorder]]
 
|[[2/suggestions/statuses/reorder/en|suggestions/statuses/reorder]]
|主Feed微博按兴趣推荐排序
+
|Return authenticating user's friends' weibos by the interest recommended order
 
|-
 
|-
 
|[[2/suggestions/statuses/reorder/ids/en|suggestions/statuses/reorder/ids]]
 
|[[2/suggestions/statuses/reorder/ids/en|suggestions/statuses/reorder/ids]]
|主Feed微博按兴趣推荐排序的微博ID
+
|Return authenticating user's friends' weibos ID list by the interest recommended order
 
|-
 
|-
 
|[[2/suggestions/favorites/hot/en|suggestions/favorites/hot]]
 
|[[2/suggestions/favorites/hot/en|suggestions/favorites/hot]]
|热门收藏
+
|Return the hot favorites
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Write API
 
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/suggestions/users/not_interested/en|suggestions/users/not_interested]]
 
|[[2/suggestions/users/not_interested/en|suggestions/users/not_interested]]
|不感兴趣的人
+
|Mark somebody as the person the authenticating user is not interested in
 
|}
 
|}
  
第543行: 第531行:
 
|rowspan="1" style="text-align:center;"|Read API
 
|rowspan="1" style="text-align:center;"|Read API
 
|[[2/remind/unread_count/en|remind/unread_count]]
 
|[[2/remind/unread_count/en|remind/unread_count]]
|获取某个用户的各种消息未读数 {{Icon_new2}}
+
|Return all kinds of unread count of a user
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Write API
 
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/remind/set_count/en|remind/set_count]]
 
|[[2/remind/set_count/en|remind/set_count]]
|对当前登录用户某一种消息未读数进行清零 {{Icon_adv}} {{Icon_new2}}
+
|对当前登录用户某一种消息未读数进行清零 {{Icon_adv}}
 
|}
 
|}
  
第590行: 第578行:
 
|rowspan="5" style="text-align:center;"|Read API
 
|rowspan="5" style="text-align:center;"|Read API
 
|[[2/common/code_to_location/en|common/code_to_location]]
 
|[[2/common/code_to_location/en|common/code_to_location]]
|通过地址编码获取地址名称
+
|Return address names by address codes
 
|-
 
|-
 
|[[2/common/get_city/en|common/get_city]]
 
|[[2/common/get_city/en|common/get_city]]
|获取城市列表
+
|Return cities list
 
|-
 
|-
 
|[[2/common/get_province/en|common/get_province]]
 
|[[2/common/get_province/en|common/get_province]]
|获取省份列表
+
|Return provinces list
 
|-
 
|-
 
|[[2/common/get_country/en|common/get_country]]
 
|[[2/common/get_country/en|common/get_country]]
|获取国家列表
+
|Return countries list
 
|-
 
|-
 
|[[2/common/get_timezone/en|common/get_timezone]]
 
|[[2/common/get_timezone/en|common/get_timezone]]
|获取时区配置表
+
|Return timezone configurations list
 
|}
 
|}
  
 +
<div style="display:none">
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
<html><colgroup><col class="tbF1"/><col class="tbF2" /><col /></colgroup></html>
 
<html><colgroup><col class="tbF1"/><col class="tbF2" /><col /></colgroup></html>
第699行: 第688行:
 
|用户删除自己的位置 {{Icon_adv}}
 
|用户删除自己的位置 {{Icon_adv}}
 
|}
 
|}
 +
</div>
  
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
 
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table"
第706行: 第696行:
 
|rowspan="1" style="text-align:center;"|Base Geo API
 
|rowspan="1" style="text-align:center;"|Base Geo API
 
|[[2/location/base/get_map_image/en|location/base/get_map_image]]
 
|[[2/location/base/get_map_image/en|location/base/get_map_image]]
|生成一张静态的地图图片
+
|Generate a static map
 
|-
 
|-
 
|rowspan="5" style="text-align:center;"|Geo Transform API
 
|rowspan="5" style="text-align:center;"|Geo Transform API
 
|[[2/location/geo/ip_to_geo/en|location/geo/ip_to_geo]]
 
|[[2/location/geo/ip_to_geo/en|location/geo/ip_to_geo]]
|根据IP地址返回地理信息坐标
+
|Return geography information coordinate by IP
 
|-
 
|-
 
|[[2/location/geo/address_to_geo/en|location/geo/address_to_geo]]
 
|[[2/location/geo/address_to_geo/en|location/geo/address_to_geo]]
|根据实际地址返回地理信息坐标
+
|Return geography information coordinate by practical address
 
|-
 
|-
 
|[[2/location/geo/geo_to_address/en|location/geo/geo_to_address]]
 
|[[2/location/geo/geo_to_address/en|location/geo/geo_to_address]]
|根据地理信息坐标返回实际地址
+
|Return practical address by geography information coordinate
 
|-
 
|-
 
|[[2/location/geo/gps_to_offset/en|location/geo/gps_to_offset]]
 
|[[2/location/geo/gps_to_offset/en|location/geo/gps_to_offset]]
|根据GPS坐标获取偏移后的坐标
+
|Return deviated coordinate by GPS coordinate
 
|-
 
|-
 
|[[2/location/geo/is_domestic/en|location/geo/is_domestic]]
 
|[[2/location/geo/is_domestic/en|location/geo/is_domestic]]
|判断地理信息坐标是否是国内坐标
+
|Whether geography information coordinates are domestic coordinates
 
|-
 
|-
 
|rowspan="3" style="text-align:center;"|POI Search API
 
|rowspan="3" style="text-align:center;"|POI Search API
 
|[[2/location/pois/search/by_location/en|location/pois/search/by_location]]
 
|[[2/location/pois/search/by_location/en|location/pois/search/by_location]]
|根据关键词按地址位置获取POI点的信息
+
|Return POI informations according to location by keyword
 
|-
 
|-
 
|[[2/location/pois/search/by_geo/en|location/pois/search/by_geo]]
 
|[[2/location/pois/search/by_geo/en|location/pois/search/by_geo]]
|根据关键词按坐标点范围获取POI点的信息
+
|Return POI informations according to coordinate range by keyword
 
|-
 
|-
 
|[[2/location/pois/search/by_area/en|location/pois/search/by_area]]
 
|[[2/location/pois/search/by_area/en|location/pois/search/by_area]]
|根据关键词按矩形区域获取POI点的信息
+
|Return POI informations according to rectangular area by keyword
 
|-
 
|-
 
|rowspan="2" style="text-align:center;"|POI Write API
 
|rowspan="2" style="text-align:center;"|POI Write API
 
|[[2/location/pois/show_batch/en|location/pois/show_batch]]
 
|[[2/location/pois/show_batch/en|location/pois/show_batch]]
|批量获取POI点的信息
+
|Return a batch of POI informations
 
|-
 
|-
 
|[[2/location/pois/add/en|location/pois/add]]
 
|[[2/location/pois/add/en|location/pois/add]]
|提交一个新增的POI点信息
+
|Create a new POI information
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Mobile Geo API
 
|rowspan="1" style="text-align:center;"|Mobile Geo API
 
|[[2/location/mobile/get_location/en|location/mobile/get_location]]
 
|[[2/location/mobile/get_location/en|location/mobile/get_location]]
|根据移动基站WIFI等数据获取当前位置信息
+
|Return current location information by mobile base station WIFI
 
|-
 
|-
 
|rowspan="4" style="text-align:center;"|Routes API
 
|rowspan="4" style="text-align:center;"|Routes API
 
|[[2/location/line/drive_route/en|location/line/drive_route]]
 
|[[2/location/line/drive_route/en|location/line/drive_route]]
|根据起点与终点数据查询自驾车路线信息
+
|Return self driving route information by starting point and terminal point
 
|-
 
|-
 
|[[2/location/line/bus_route/en|location/line/bus_route]]
 
|[[2/location/line/bus_route/en|location/line/bus_route]]
|根据起点与终点数据查询公交乘坐路线信息
+
|Return bus route information by starting point and terminal point
 
|-
 
|-
 
|[[2/location/line/bus_line/en|location/line/bus_line]]
 
|[[2/location/line/bus_line/en|location/line/bus_line]]
|根据关键词查询公交线路信息
+
|Return bus route information by keyword
 
|-
 
|-
 
|[[2/location/line/bus_station/en|location/line/bus_station]]
 
|[[2/location/line/bus_station/en|location/line/bus_station]]
|根据关键词查询公交站点信息
+
|Return bus station information by keyword
 
|-
 
|-
 
|rowspan="4" style="text-align:center;"|Geo Property Directions
 
|rowspan="4" style="text-align:center;"|Geo Property Directions
 
|[[location/citycode/en|location/citycode]]
 
|[[location/citycode/en|location/citycode]]
|城市代码对应表
+
|Return city code list
 
|-
 
|-
 
|[[location/citycode_bus/en|location/citycode_bus]]
 
|[[location/citycode_bus/en|location/citycode_bus]]
|公交城市代码表
+
|Return city bus code list
 
|-
 
|-
 
|[[location/category/en|location/category]]
 
|[[location/category/en|location/category]]
|分类代码对应表
+
|Return category code list
 
|-
 
|-
 
|[[location/error2/en|location/error2]]
 
|[[location/error2/en|location/error2]]
|地理位置信息接口错误代码及解释
+
|Geo API error code list
 
|}
 
|}
  
第779行: 第769行:
 
|rowspan="1" style="text-align:center;"|Request Authorize
 
|rowspan="1" style="text-align:center;"|Request Authorize
 
|[[oauth2/authorize/en|oauth2/authorize]]
 
|[[oauth2/authorize/en|oauth2/authorize]]
|请求用户授权Token
+
|Request user authorization
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Get Authorize
 
|rowspan="1" style="text-align:center;"|Get Authorize
 
|[[oauth2/access_token/en|oauth2/access_token]]
 
|[[oauth2/access_token/en|oauth2/access_token]]
|获取授权过的Access Token
+
|Return authorized Access Token
 
|-
 
|-
 
|rowspan="1" style="text-align:center;"|Authorize Info
 
|rowspan="1" style="text-align:center;"|Authorize Info
第797行: 第787行:
 
|授权回收接口,帮助开发者主动取消用户的授权 {{Icon_new2}}
 
|授权回收接口,帮助开发者主动取消用户的授权 {{Icon_new2}}
 
|}
 
|}
 +
 +
 +
{{#a:nobtns|noheading}}

2014年9月4日 (四) 17:40的最后版本

Weibo API

Some API that marked by icon is advanced API, means you must apply for it, learn more with the Apply for Adv API

Marked by icon, these API must request user‘s authorization of SCOPE additional, learn more with the scope

Messages API(learn more
Read API messages/receive 接收用户私信、关注、取消关注、@等消息接口
Write API messages/reply 向用户回复私信消息接口
messages/send 根据粉丝设置的提醒条件进行私信提醒消息接口
messages/post 向订阅用户发送私信消息接口


Weibo API
Read API statuses/public_timeline Return the latest public weibos
statuses/friends_timeline Return the authenticating user’s and his friends’ latest weibos
statuses/home_timeline Return the authenticating user’s and his friends’ latest weibos
statuses/friends_timeline/ids Return the authenticating user’s and his friends’ latest weibos'ID
statuses/user_timeline Return the latest weibos of one user
statuses/user_timeline/ids Return the latest weibos'ID of one user
statuses/timeline_batch 批量获取指定的一批用户的微博列表
statuses/repost_timeline Return the latest of repost weibos of a original weibo
statuses/repost_timeline/ids Return the latest of repost weibos'ID of a original weibo
statuses/mentions Return the latest weibos metioned the authenticating user
statuses/mentions/ids Return the latest weibos‘ID metioned the authenticating user
statuses/bilateral_timeline Return the latest weibos of the users that are following the authenticating user and are being followed by the authenticating user
statuses/show Return the single weibo’s content by its ID
statuses/show_batch 根据微博ID批量获取微博信息
statuses/querymid Return the mid by ID
statuses/queryid Return the ID by mid
statuses/count Return the comment counts and repost counts of a list of weibos
statuses/to_me 获取当前登录用户关注的人发给其的定向微博
statuses/to_me/ids 获取当前登录用户关注的人发给其的定向微博ID列表
statuses/go 根据ID跳转到单条微博页
emotions Emotion interface, Return the emotions list
Write API statuses/repost Repost a weibo
statuses/destroy Delete a weibo
statuses/update Post a weibo
statuses/upload Upload a picture with a new weibo
statuses/upload_url_text Upload a picture by a picture URL with a new weibo
statuses/filter/create 屏蔽某条微博
statuses/mentions/shield 屏蔽某个@我的微博及后续由其转发引起的@提及
Comments API
Read API comments/show Return comments of one weibo
comments/by_me Return comments posted by the authenticating user
comments/to_me Return comments posted to the authenticating user
comments/timeline Return the latest comments of the authenticating user
comments/mentions Return the latest comments metioned the authenticating user
comments/show_batch Return a batch of comments by IDs
Write API comments/create Post a comment to a weibo
comments/destroy Delete a comment of authenticating user's
comments/destroy_batch Delete a batch of comments of authenticating user's
comments/reply Reply a comment
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
Top Weibo API
Read API users/get_top_status 获取用户主页置顶微博
Write API users/set_top_status 设置用户主页置顶微博
users/cancel_top_status 取消用户主页置顶微博
Friendships API
Friend Read API friendships/friends Return the friends list of a user
friendships/friends/remark_batch Return remarks of a batch of the authenticating user's friends
friendships/friends/in_common Return the common friends list between two users
friendships/friends/bilateral Return list of users that are following the specified user and are being followed by the specified user
friendships/friends/bilateral/ids Return ID of users that are following the specified user and are being followed by the specified user
friendships/friends/ids Return the friends ID list of a user
Follower Read API friendships/followers Return the followers list of a user
friendships/followers/ids Return the followers ID list of a user
friendships/followers/active Return the high quality followers list of a user
Friendship Chain Read API friendships/friends_chain/followers Return users that are being followed by the authenticating user and are following the specified user
Friendship Read API friendships/show Return relationship of two users
Write API friendships/create Follow a user
friendships/destroy Unfollowing a user
friendships/followers/destroy Remove a follower of the authenticating user
friendships/remark/update Update remarks of the friends
Groups API
Read API friendships/groups 获取当前登陆用户好友分组列表
friendships/groups/timeline 获取某一好友分组的微博列表
friendships/groups/timeline/ids 获取某一好友分组的微博ID列表
friendships/groups/members 获取某一好友分组下的成员列表
friendships/groups/members/ids 获取某一好友分组下的成员列表的ID
friendships/groups/members/description 批量取好友分组成员的分组说明
friendships/groups/is_member 判断某个用户是否是指定好友分组内的成员
friendships/groups/listed 批量获取某些用户在指定用户的好友分组中的收录信息
friendships/groups/show 获取某个分组的详细信息
friendships/groups/show_batch 批量获取好友分组的详细信息
Write API friendships/groups/create 创建好友分组
friendships/groups/update 更新好友分组
friendships/groups/destroy 删除好友分组
friendships/groups/members/add 添加关注用户到好友分组
friendships/groups/members/add_batch 批量添加用户到好友分组
friendships/groups/members/update 更新好友分组中成员的分组说明
friendships/groups/members/destroy 删除好友分组内的关注用户
friendships/groups/order 调整当前登录用户的好友分组顺序
Accounts API
Read API account/get_privacy Return authenticating user’s privacy settings
account/profile/school_list Return the school list
account/rate_limit_status Return the authenticating user’s API access rate limitation
account/profile/email 获取用户的联系邮箱
account/get_uid Return user ID after OAuth authorization
Write API account/end_session End the session of authenticating user
Favorites API
Read API favorites Return authenticating user’s favorites list
favorites/ids Return authenticating user’s favorites ID list
favorites/show Return one of the user's favorites by ID
favorites/by_tags Return authenticating user’s favorites list of one tag
favorites/tags Return authenticating user’s favorites tag list
favorites/by_tags/ids Return authenticating user’s favorites ID list of one tag
Write API favorites/create Add a weibo to the favorite list
favorites/destroy Remove a weibo from favorite list of the authenticating user
favorites/destroy_batch Remove a batch of favorites from favorite list
favorites/tags/update Update the tag of a favorite
favorites/tags/update_batch Update a specified tag of authenticating user's all the favorites
favorites/tags/destroy_batch Delete a specified tag of authenticating user's all the favorites
Topics API
Read API trends/hourly Return hot topics by hour
trends/daily Return hot topics by day
trends/weekly Return hot topics by week
Weibo Tags API
Read API statuses/tags 获取用户的微博标签列表
statuses/tags/show_batch 批量获取微博标签
statuses/tag_timeline/ids 获取用户某个标签的微博ID列表
Write API statuses/tags/create 创建标签
statuses/tags/destroy 删除标签
statuses/tags/update 更新标签
statuses/update_tags 更新某个微博的标签
User Tags API
Read API tags Return the tags list by user ID
tags/tags_batch Return the tags list of a batch of users
tags/suggestions Return the recommended tags list for the authenticating user
Write API tags/create Create tags for the authenticating user
tags/destroy Delete a tag for the authenticating user
tags/destroy_batch Delete a batch of tags for the authenticating user
Register API
Read API register/verify_nickname Whether a specified nickname is available
Search API
Suggestion Search API search/suggestions/users Suggestions for searching users
search/suggestions/schools Suggestions for searching schools
search/suggestions/companies Suggestions for searching companies
search/suggestions/apps Suggestions for searching applications
search/suggestions/at_users Suggestions for '@username'
Topics Search API search/topics 搜索某一话题下的微博
Recommend API
Read API suggestions/users/hot Return system recommended users
suggestions/users/may_interested Return users the authenticating user may be interested in
suggestions/users/by_status Return recommended users by the weibo content
suggestions/statuses/reorder Return authenticating user's friends' weibos by the interest recommended order
suggestions/statuses/reorder/ids Return authenticating user's friends' weibos ID list by the interest recommended order
suggestions/favorites/hot Return the hot favorites
Write API suggestions/users/not_interested Mark somebody as the person the authenticating user is not interested in
Remind API
Read API remind/unread_count Return all kinds of unread count of a user
Write API remind/set_count 对当前登录用户某一种消息未读数进行清零
Short Url API
Transform API short_url/shorten 长链转短链
short_url/expand 短链转长链
Data API short_url/share/counts 获取短链接在微博上的微博分享数
short_url/share/statuses 获取包含指定单个短链接的最新微博内容
short_url/comment/counts 获取短链接在微博上的微博评论数
short_url/comment/comments 获取包含指定单个短链接的最新微博评论
Notification API
Send API notification/send 给一个或多个用户发送一条新的状态通知
Public Service API
Read API common/code_to_location Return address names by address codes
common/get_city Return cities list
common/get_province Return provinces list
common/get_country Return countries list
common/get_timezone Return timezone configurations list
Place API(learn more
Place TimeLine API place/public_timeline 获取公共的位置动态
place/friends_timeline 获取用户好友的位置动态
place/user_timeline 获取某个用户的位置动态
place/poi_timeline 获取某个位置地点的动态
place/nearby_timeline 获取某个位置周边的动态
place/statuses/show 获取动态的详情
LBS User API place/users/show 获取LBS位置服务内的用户信息
place/users/checkins 获取用户签到过的地点列表
place/users/photos 获取用户的照片列表
place/users/tips 获取用户的点评列表
place/users/todos 获取用户的todo列表
LBS Read API place/pois/show 获取地点详情
place/pois/users 获取在某个地点签到的人的列表
place/pois/tips 获取地点点评列表
place/pois/photos 获取地点照片列表
place/pois/search 按省市查询地点
place/pois/category 获取地点分类
Nearby Read API place/nearby/pois 获取附近地点
place/nearby/users 获取附近发位置微博的人
place/nearby/photos 获取附近照片
place/nearby_users/list 获取附近的人
LBS Write API place/pois/create 添加地点
place/pois/add_checkin 签到
place/pois/add_photo 添加照片
place/pois/add_tip 添加点评
place/pois/add_todo 添加todo
Nearby Write API place/nearby_users/create 用户添加自己的位置
place/nearby_users/destroy 用户删除自己的位置
Geo API
Base Geo API location/base/get_map_image Generate a static map
Geo Transform API location/geo/ip_to_geo Return geography information coordinate by IP
location/geo/address_to_geo Return geography information coordinate by practical address
location/geo/geo_to_address Return practical address by geography information coordinate
location/geo/gps_to_offset Return deviated coordinate by GPS coordinate
location/geo/is_domestic Whether geography information coordinates are domestic coordinates
POI Search API location/pois/search/by_location Return POI informations according to location by keyword
location/pois/search/by_geo Return POI informations according to coordinate range by keyword
location/pois/search/by_area Return POI informations according to rectangular area by keyword
POI Write API location/pois/show_batch Return a batch of POI informations
location/pois/add Create a new POI information
Mobile Geo API location/mobile/get_location Return current location information by mobile base station WIFI
Routes API location/line/drive_route Return self driving route information by starting point and terminal point
location/line/bus_route Return bus route information by starting point and terminal point
location/line/bus_line Return bus route information by keyword
location/line/bus_station Return bus station information by keyword
Geo Property Directions location/citycode Return city code list
location/citycode_bus Return city bus code list
location/category Return category code list
location/error2 Geo API error code list


OAuth2(learn more
Request Authorize oauth2/authorize Request user authorization
Get Authorize oauth2/access_token Return authorized Access Token
Authorize Info oauth2/get_token_info 查询用户access_token的授权相关信息
Transform Authorize oauth2/get_oauth2_token OAuth1.0的Access Token更换至OAuth2.0的Access Token
Cancel Authorize oauth2/revokeoauth2 授权回收接口,帮助开发者主动取消用户的授权



文档更新时间: 2014-09-04