API/en

跳转到: 导航, 搜索
第32行: 第32行:
 
</div>
 
</div>
  
<p class="tips_txt">标识为 {{Icon_adv}} 的接口为高级权限接口,需要申请才可以调用,learn more with the [[apply for Adv API]]</p>
+
<p class="tips_txt">标识为 {{Icon_adv}} 的接口为高级权限接口,需要申请才可以调用,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">标识为 {{Icon_scope}} 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,learn more with the [[scope]]</p>
  
第58行: 第58行:
 
!colspan="3" scope="col"|<span id="邀请接口">Invitation API([[messages#.E5.A5.BD.E5.8F.8B.E9.82.80.E8.AF.B7|learn more]])</span>
 
!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;"|写入接口
+
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/messages/invite/en|messages/invite]]
 
|[[2/messages/invite/en|messages/invite]]
 
|向互粉好友发送私信邀请、送礼物消息接口 {{Icon_new2}}  
 
|向互粉好友发送私信邀请、送礼物消息接口 {{Icon_new2}}  
第131行: 第131行:
 
|获取官方表情
 
|获取官方表情
 
|-
 
|-
|rowspan="7" style="text-align:center;"|写入接口
+
|rowspan="7" style="text-align:center;"|Write API
 
|[[2/statuses/repost/en|statuses/repost]]
 
|[[2/statuses/repost/en|statuses/repost]]
 
|转发一条微博信息
 
|转发一条微博信息
第157行: 第157行:
 
{|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>
!colspan="3" scope="col"|<span id="评论">评论</span>
+
!colspan="3" scope="col"|<span id="评论">Comments API</span>
 
|-
 
|-
|rowspan="6" style="text-align:center;"|读取接口
+
|rowspan="6" style="text-align:center;"|Read API
 
|[[2/comments/show/en|comments/show]]
 
|[[2/comments/show/en|comments/show]]
 
|获取某条微博的评论列表
 
|获取某条微博的评论列表
第178行: 第178行:
 
|批量获取评论内容
 
|批量获取评论内容
 
|-
 
|-
|rowspan="4" style="text-align:center;"|写入接口
+
|rowspan="4" style="text-align:center;"|Write API
 
|[[2/comments/create/en|comments/create]]
 
|[[2/comments/create/en|comments/create]]
 
|评论一条微博
 
|评论一条微博
第194行: 第194行:
 
{|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>
!colspan="3" scope="col"|<span id="用户">用户</span>
+
!colspan="3" scope="col"|<span id="用户">Users API</span>
 
|-
 
|-
|rowspan="3" style="text-align:center;"|读取接口
+
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/users/show/en|users/show]]
 
|[[2/users/show/en|users/show]]
 
|获取用户信息 {{Icon_new2}}
 
|获取用户信息 {{Icon_new2}}
第209行: 第209行:
 
{|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>
!colspan="3" scope="col"|<span id="置顶微博">置顶微博</span>
+
!colspan="3" scope="col"|<span id="置顶微博">Top Weibo API</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|读取接口
+
|rowspan="1" style="text-align:center;"|Read API
 
|[[2/users/get_top_status/en|users/get_top_status]]
 
|[[2/users/get_top_status/en|users/get_top_status]]
 
|获取用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
 
|获取用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
 
|-
 
|-
|rowspan="2" style="text-align:center;"|写入接口
+
|rowspan="2" style="text-align:center;"|Write API
 
|[[2/users/set_top_status/en|users/set_top_status]]
 
|[[2/users/set_top_status/en|users/set_top_status]]
 
|设置用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
 
|设置用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
第225行: 第225行:
 
{|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>
!colspan="3" scope="col"|<span id="关系">关系</span>
+
!colspan="3" scope="col"|<span id="关系">Friendships API</span>
 
|-
 
|-
|rowspan="6" style="text-align:center;"|关注读取接口
+
|rowspan="6" style="text-align:center;"|Friend Read API
 
|[[2/friendships/friends/en|friendships/friends]]
 
|[[2/friendships/friends/en|friendships/friends]]
 
|获取用户的关注列表
 
|获取用户的关注列表
第246行: 第246行:
 
|获取用户关注对象UID列表
 
|获取用户关注对象UID列表
 
|-
 
|-
|rowspan="3" style="text-align:center;"|粉丝读取接口
+
|rowspan="3" style="text-align:center;"|Follower Read API
 
|[[2/friendships/followers/en|friendships/followers]]
 
|[[2/friendships/followers/en|friendships/followers]]
 
|获取用户粉丝列表
 
|获取用户粉丝列表
第256行: 第256行:
 
|获取用户优质粉丝列表
 
|获取用户优质粉丝列表
 
|-
 
|-
|rowspan="1" style="text-align:center;"|关系链读取接口
+
|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]]
 
|获取我的关注人中关注了指定用户的人
 
|获取我的关注人中关注了指定用户的人
 
|-
 
|-
|rowspan="1" style="text-align:center;"|关系读取接口
+
|rowspan="1" style="text-align:center;"|Friendship Read API
 
|[[2/friendships/show/en|friendships/show]]
 
|[[2/friendships/show/en|friendships/show]]
 
|获取两个用户关系的详细情况
 
|获取两个用户关系的详细情况
 
|-
 
|-
|rowspan="4" style="text-align:center;"|写入接口
+
|rowspan="4" style="text-align:center;"|Write API
 
|[[2/friendships/create/en|friendships/create]]
 
|[[2/friendships/create/en|friendships/create]]
 
|关注某用户
 
|关注某用户
第272行: 第272行:
 
|-
 
|-
 
|[[2/friendships/followers/destroy/en|friendships/followers/destroy]]
 
|[[2/friendships/followers/destroy/en|friendships/followers/destroy]]
|移除当前登录用户的粉丝 {{Icon_adv}} {{Icon_new2}}
+
|移除当前登录用户的粉丝 {{Icon_adv}}
 
|-
 
|-
 
|[[2/friendships/remark/update/en|friendships/remark/update]]
 
|[[2/friendships/remark/update/en|friendships/remark/update]]
第280行: 第280行:
 
{|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>
!colspan="3" scope="col"|<span id="好友分组">好友分组</span>
+
!colspan="3" scope="col"|<span id="好友分组">Groups API</span>
 
|-
 
|-
|rowspan="10" style="text-align:center;"|读取接口
+
|rowspan="10" style="text-align:center;"|Read API
 
|[[2/friendships/groups/en|friendships/groups]]
 
|[[2/friendships/groups/en|friendships/groups]]
 
|获取当前登陆用户好友分组列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
 
|获取当前登陆用户好友分组列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
第313行: 第313行:
 
|批量获取好友分组的详细信息 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
 
|批量获取好友分组的详细信息 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
 
|-
 
|-
|rowspan="8" style="text-align:center;"|写入接口
+
|rowspan="8" style="text-align:center;"|Write API
 
|[[2/friendships/groups/create/en|friendships/groups/create]]  
 
|[[2/friendships/groups/create/en|friendships/groups/create]]  
 
|创建好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
 
|创建好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
第341行: 第341行:
 
{|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>
!colspan="3" scope="col"|<span id="账号">账号</span>
+
!colspan="3" scope="col"|<span id="账号">Accounts API</span>
 
|-
 
|-
|rowspan="5" style="text-align:center;"|读取接口
+
|rowspan="5" style="text-align:center;"|Read API
 
|[[2/account/get_privacy/en|account/get_privacy]]
 
|[[2/account/get_privacy/en|account/get_privacy]]
 
|获取隐私设置信息
 
|获取隐私设置信息
第359行: 第359行:
 
|OAuth授权之后获取用户UID(作用相当于旧版接口的 [[account/verify_credentials]])
 
|OAuth授权之后获取用户UID(作用相当于旧版接口的 [[account/verify_credentials]])
 
|-
 
|-
|rowspan="1" style="text-align:center;"|写入接口
+
|rowspan="1" style="text-align:center;"|Write API
 
|[[2/account/end_session/en|account/end_session]]
 
|[[2/account/end_session/en|account/end_session]]
 
|退出登录
 
|退出登录
第366行: 第366行:
 
{|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>
!colspan="3" scope="col"|<span id="收藏">收藏</span>
+
!colspan="3" scope="col"|<span id="收藏">Favorites API</span>
 
|-
 
|-
|rowspan="6" style="text-align:center;"|读取接口
+
|rowspan="6" style="text-align:center;"|Read API
 
|[[2/favorites/en|favorites]]
 
|[[2/favorites/en|favorites]]
 
|获取当前用户的收藏列表
 
|获取当前用户的收藏列表
第387行: 第387行:
 
|获取当前用户某个标签下的收藏列表的ID {{Icon_new2}}
 
|获取当前用户某个标签下的收藏列表的ID {{Icon_new2}}
 
|-
 
|-
|rowspan="6" style="text-align:center;"|写入接口
+
|rowspan="6" style="text-align:center;"|Write API
 
|[[2/favorites/create/en|favorites/create]]
 
|[[2/favorites/create/en|favorites/create]]
 
|添加收藏
 
|添加收藏
第409行: 第409行:
 
{|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>
!colspan="3" scope="col"|<span id="话题">话题</span>
+
!colspan="3" scope="col"|<span id="话题">Topics API</span>
 
|-
 
|-
|rowspan="3" style="text-align:center;"|读取接口
+
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/trends/hourly/en|trends/hourly]]
 
|[[2/trends/hourly/en|trends/hourly]]
 
|返回最近一小时内的热门话题
 
|返回最近一小时内的热门话题
第424行: 第424行:
 
{|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>
!colspan="3" scope="col"|<span id="微博标签">微博标签</span>
+
!colspan="3" scope="col"|<span id="微博标签">Weibo Tags API</span>
 
|-
 
|-
|rowspan="3" style="text-align:center;"|读取接口
+
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/statuses/tags/en|statuses/tags]]
 
|[[2/statuses/tags/en|statuses/tags]]
 
|获取用户的微博标签列表 {{Icon_adv}}  {{Icon_new2}}
 
|获取用户的微博标签列表 {{Icon_adv}}  {{Icon_new2}}
第436行: 第436行:
 
|获取用户某个标签的微博ID列表 {{Icon_adv}} {{Icon_new2}}
 
|获取用户某个标签的微博ID列表 {{Icon_adv}} {{Icon_new2}}
 
|-
 
|-
|rowspan="4" style="text-align:center;"|写入接口
+
|rowspan="4" style="text-align:center;"|Write API
 
|[[2/statuses/tags/create/en|statuses/tags/create]]
 
|[[2/statuses/tags/create/en|statuses/tags/create]]
 
|创建标签 {{Icon_adv}} {{Icon_new2}}
 
|创建标签 {{Icon_adv}} {{Icon_new2}}
第452行: 第452行:
 
{|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>
!colspan="3" scope="col"|<span id="用户标签">用户标签</span>
+
!colspan="3" scope="col"|<span id="用户标签">User Tags API</span>
 
|-
 
|-
|rowspan="3" style="text-align:center;"|读取接口
+
|rowspan="3" style="text-align:center;"|Read API
 
|[[2/tags/en|tags]]
 
|[[2/tags/en|tags]]
 
|返回指定用户的标签列表
 
|返回指定用户的标签列表
第464行: 第464行:
 
|返回系统推荐的标签列表
 
|返回系统推荐的标签列表
 
|-
 
|-
|rowspan="3" style="text-align:center;"|写入接口
+
|rowspan="3" style="text-align:center;"|Write API
 
|[[2/tags/create/en|tags/create]]
 
|[[2/tags/create/en|tags/create]]
 
|添加用户标签
 
|添加用户标签
第477行: 第477行:
 
{|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>
!colspan="3" scope="col"|<span id="注册">注册</span>
+
!colspan="3" scope="col"|<span id="注册">Register API</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|读取接口
+
|rowspan="1" style="text-align:center;"|Read API
 
|[[2/register/verify_nickname/en|register/verify_nickname]]
 
|[[2/register/verify_nickname/en|register/verify_nickname]]
 
|验证昵称是否可用
 
|验证昵称是否可用
第486行: 第486行:
 
{|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>
!colspan="3" scope="col"|<span id="搜索">搜索</span>
+
!colspan="3" scope="col"|<span id="搜索">Search API</span>
 
|-
 
|-
|rowspan="5" style="text-align:center;"|搜索联想接口
+
|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]]
 
|搜用户搜索建议
 
|搜用户搜索建议
第504行: 第504行:
 
|@联想搜索
 
|@联想搜索
 
|-
 
|-
|rowspan="1" style="text-align:center;"|搜索话题接口
+
|rowspan="1" style="text-align:center;"|Topics Search API
 
|[[2/search/topics/en|search/topics]]
 
|[[2/search/topics/en|search/topics]]
 
|搜索某一话题下的微博 {{Icon_adv}}
 
|搜索某一话题下的微博 {{Icon_adv}}
第511行: 第511行:
 
{|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>
!colspan="3" scope="col"|<span id="推荐">推荐</span>
+
!colspan="3" scope="col"|<span id="推荐">Recommend API</span>
 
|-
 
|-
|rowspan="6" style="text-align:center;"|读取接口
+
|rowspan="6" style="text-align:center;"|Read API
 
|[[2/suggestions/users/hot/en|suggestions/users/hot]]
 
|[[2/suggestions/users/hot/en|suggestions/users/hot]]
 
|获取系统推荐用户
 
|获取系统推荐用户
第532行: 第532行:
 
|热门收藏
 
|热门收藏
 
|-
 
|-
|rowspan="1" style="text-align:center;"|写入接口
+
|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]]
 
|不感兴趣的人
 
|不感兴趣的人
第539行: 第539行:
 
{|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>
!colspan="3" scope="col"|<span id="提醒">提醒</span>
+
!colspan="3" scope="col"|<span id="提醒">Remind API</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|读取接口
+
|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}}
 
|获取某个用户的各种消息未读数 {{Icon_new2}}
 
|-
 
|-
|rowspan="1" style="text-align:center;"|写入接口
+
|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}} {{Icon_new2}}
第552行: 第552行:
 
{|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>
!colspan="3" scope="col"|<span id="短链">短链</span>
+
!colspan="3" scope="col"|<span id="短链">Short Url API</span>
 
|-
 
|-
|rowspan="2" style="text-align:center;"|转换接口
+
|rowspan="2" style="text-align:center;"|Transform API
 
|[[2/short_url/shorten/en|short_url/shorten]]
 
|[[2/short_url/shorten/en|short_url/shorten]]
 
|长链转短链 {{Icon_new2}}
 
|长链转短链 {{Icon_new2}}
第561行: 第561行:
 
|短链转长链 {{Icon_new2}}
 
|短链转长链 {{Icon_new2}}
 
|-
 
|-
|rowspan="4" style="text-align:center;"|数据接口
+
|rowspan="4" style="text-align:center;"|Data API
 
|[[2/short_url/share/counts/en|short_url/share/counts]]
 
|[[2/short_url/share/counts/en|short_url/share/counts]]
 
|获取短链接在微博上的微博分享数 {{Icon_new2}}
 
|获取短链接在微博上的微博分享数 {{Icon_new2}}
第577行: 第577行:
 
{|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>
!colspan="3" scope="col"|<span id="通知">通知</span>
+
!colspan="3" scope="col"|<span id="通知">Notification API</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|发送接口
+
|rowspan="1" style="text-align:center;"|Send API
 
|[[2/notification/send/en|notification/send]]
 
|[[2/notification/send/en|notification/send]]
 
|给一个或多个用户发送一条新的状态通知 {{Icon_adv}} {{Icon_new2}}
 
|给一个或多个用户发送一条新的状态通知 {{Icon_adv}} {{Icon_new2}}
第586行: 第586行:
 
{|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>
!colspan="3" scope="col"|<span id="公共服务">公共服务</span>
+
!colspan="3" scope="col"|<span id="公共服务">Public Service API</span>
 
|-
 
|-
|rowspan="5" style="text-align:center;"|读取接口
+
|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]]
|通过地址编码获取地址名称 {{Icon_new2}}
+
|通过地址编码获取地址名称
 
|-
 
|-
 
|[[2/common/get_city/en|common/get_city]]
 
|[[2/common/get_city/en|common/get_city]]
|获取城市列表 {{Icon_new2}}
+
|获取城市列表
 
|-
 
|-
 
|[[2/common/get_province/en|common/get_province]]
 
|[[2/common/get_province/en|common/get_province]]
|获取省份列表 {{Icon_new2}}
+
|获取省份列表
 
|-
 
|-
 
|[[2/common/get_country/en|common/get_country]]
 
|[[2/common/get_country/en|common/get_country]]
|获取国家列表 {{Icon_new2}}
+
|获取国家列表
 
|-
 
|-
 
|[[2/common/get_timezone/en|common/get_timezone]]
 
|[[2/common/get_timezone/en|common/get_timezone]]
|获取时区配置表 {{Icon_new2}}
+
|获取时区配置表
 
|}
 
|}
  
 
{|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>
!colspan="3" scope="col"|<span id="位置服务">位置服务([[位置服务|learn more]])</span>
+
!colspan="3" scope="col"|<span id="位置服务">Place API([[位置服务|learn more]])</span>
 
|-
 
|-
|rowspan="6" style="text-align:center;"|动态读取接口
+
|rowspan="6" style="text-align:center;"|Place TimeLine API
 
|[[2/place/public_timeline/en|place/public_timeline]]
 
|[[2/place/public_timeline/en|place/public_timeline]]
 
|获取公共的位置动态 {{Icon_adv}}
 
|获取公共的位置动态 {{Icon_adv}}
第628行: 第628行:
 
|获取动态的详情
 
|获取动态的详情
 
|-
 
|-
|rowspan="5" style="text-align:center;"|用户读取接口
+
|rowspan="5" style="text-align:center;"|LBS User API
 
|[[2/place/users/show/en|place/users/show]]
 
|[[2/place/users/show/en|place/users/show]]
 
|获取LBS位置服务内的用户信息
 
|获取LBS位置服务内的用户信息
第644行: 第644行:
 
|获取用户的todo列表 {{Icon_adv}}
 
|获取用户的todo列表 {{Icon_adv}}
 
|-
 
|-
|rowspan="6" style="text-align:center;"|地点读取接口
+
|rowspan="6" style="text-align:center;"|LBS Read API
 
|[[2/place/pois/show/en|place/pois/show]]
 
|[[2/place/pois/show/en|place/pois/show]]
 
|获取地点详情
 
|获取地点详情
第663行: 第663行:
 
|获取地点分类
 
|获取地点分类
 
|-
 
|-
|rowspan="4" style="text-align:center;"|附近读取接口
+
|rowspan="4" style="text-align:center;"|Nearby Read API
 
|[[2/place/nearby/pois/en|place/nearby/pois]]
 
|[[2/place/nearby/pois/en|place/nearby/pois]]
 
|获取附近地点
 
|获取附近地点
第676行: 第676行:
 
|获取附近的人 {{Icon_adv}}
 
|获取附近的人 {{Icon_adv}}
 
|-
 
|-
|rowspan="5" style="text-align:center;"|地点写入接口
+
|rowspan="5" style="text-align:center;"|LBS Write API
 
|[[2/place/pois/create/en|place/pois/create]]
 
|[[2/place/pois/create/en|place/pois/create]]
 
|添加地点 {{Icon_adv}}
 
|添加地点 {{Icon_adv}}
第692行: 第692行:
 
|添加todo {{Icon_adv}}
 
|添加todo {{Icon_adv}}
 
|-
 
|-
|rowspan="2" style="text-align:center;"|附近写入接口
+
|rowspan="2" style="text-align:center;"|Nearby Write API
 
|[[2/place/nearby_users/create/en|place/nearby_users/create]]
 
|[[2/place/nearby_users/create/en|place/nearby_users/create]]
 
|用户添加自己的位置 {{Icon_adv}}
 
|用户添加自己的位置 {{Icon_adv}}
第702行: 第702行:
 
{|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>
!colspan="3" scope="col"|<span id="地理信息">地理信息</span>
+
!colspan="3" scope="col"|<span id="地理信息">Geo API</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|基础位置读取接口
+
|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]]
 
|生成一张静态的地图图片
 
|生成一张静态的地图图片
 
|-
 
|-
|rowspan="5" style="text-align:center;"|坐标转换接口
+
|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地址返回地理信息坐标
 
|根据IP地址返回地理信息坐标
第724行: 第724行:
 
|判断地理信息坐标是否是国内坐标
 
|判断地理信息坐标是否是国内坐标
 
|-
 
|-
|rowspan="3" style="text-align:center;"|POI数据搜索接口
+
|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点的信息
 
|根据关键词按地址位置获取POI点的信息
第734行: 第734行:
 
|根据关键词按矩形区域获取POI点的信息
 
|根据关键词按矩形区域获取POI点的信息
 
|-
 
|-
|rowspan="2" style="text-align:center;"|POI数据读写接口
+
|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点的信息
 
|批量获取POI点的信息
第741行: 第741行:
 
|提交一个新增的POI点信息
 
|提交一个新增的POI点信息
 
|-
 
|-
|rowspan="1" style="text-align:center;"|移动服务读取接口
+
|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等数据获取当前位置信息
 
|根据移动基站WIFI等数据获取当前位置信息
 
|-
 
|-
|rowspan="4" style="text-align:center;"|交通路线读取接口
+
|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]]
 
|根据起点与终点数据查询自驾车路线信息
 
|根据起点与终点数据查询自驾车路线信息
第758行: 第758行:
 
|根据关键词查询公交站点信息
 
|根据关键词查询公交站点信息
 
|-
 
|-
|rowspan="4" style="text-align:center;"|地理信息字段说明
+
|rowspan="4" style="text-align:center;"|Geo Property Directions
 
|[[location/citycode/en|location/citycode]]
 
|[[location/citycode/en|location/citycode]]
 
|城市代码对应表
 
|城市代码对应表
第777行: 第777行:
 
!colspan="3" scope="col"|<span id="OAuth2">OAuth2([[授权机制说明|learn more]])</span>
 
!colspan="3" scope="col"|<span id="OAuth2">OAuth2([[授权机制说明|learn more]])</span>
 
|-
 
|-
|rowspan="1" style="text-align:center;"|请求授权
+
|rowspan="1" style="text-align:center;"|Request Authorize
 
|[[oauth2/authorize/en|oauth2/authorize]]
 
|[[oauth2/authorize/en|oauth2/authorize]]
 
|请求用户授权Token
 
|请求用户授权Token
 
|-
 
|-
|rowspan="1" style="text-align:center;"|获取授权
+
|rowspan="1" style="text-align:center;"|Get Authorize
 
|[[oauth2/access_token/en|oauth2/access_token]]
 
|[[oauth2/access_token/en|oauth2/access_token]]
 
|获取授权过的Access Token
 
|获取授权过的Access Token
 
|-
 
|-
|rowspan="1" style="text-align:center;"|授权查询
+
|rowspan="1" style="text-align:center;"|Authorize Info
 
|[[oauth2/get_token_info/en|oauth2/get_token_info]]
 
|[[oauth2/get_token_info/en|oauth2/get_token_info]]
 
|查询用户access_token的授权相关信息 {{Icon_new2}}
 
|查询用户access_token的授权相关信息 {{Icon_new2}}
 
|-
 
|-
|rowspan="1" style="text-align:center;"|替换授权
+
|rowspan="1" style="text-align:center;"|Transform Authorize
 
|[[oauth2/get_oauth2_token/en|oauth2/get_oauth2_token]]
 
|[[oauth2/get_oauth2_token/en|oauth2/get_oauth2_token]]
 
|OAuth1.0的Access Token更换至OAuth2.0的Access Token
 
|OAuth1.0的Access Token更换至OAuth2.0的Access Token
 
|-
 
|-
|rowspan="1" style="text-align:center;"|授权回收
+
|rowspan="1" style="text-align:center;"|Cancel Authorize
 
|[[oauth2/revokeoauth2/en|oauth2/revokeoauth2]]
 
|[[oauth2/revokeoauth2/en|oauth2/revokeoauth2]]
 
|授权回收接口,帮助开发者主动取消用户的授权 {{Icon_new2}}
 
|授权回收接口,帮助开发者主动取消用户的授权 {{Icon_new2}}
 
|}
 
|}

2013年11月7日 (四) 15:07的版本

Weibo API

标识为 的接口为高级权限接口,需要申请才可以调用,learn more with the Apply for Adv API

标识为 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,learn more with the scope

Messages API(learn more
Read API messages/receive 接收用户私信、关注、取消关注、@等消息接口
Write API messages/reply 向用户回复私信消息接口
messages/send 根据粉丝设置的提醒条件进行私信提醒消息接口
messages/post 向订阅用户发送私信消息接口
Invitation API(learn more
Write API messages/invite 向互粉好友发送私信邀请、送礼物消息接口
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 获取双向关注用户的最新微博
statuses/show 根据ID获取单条微博信息
statuses/show_batch 根据微博ID批量获取微博信息
statuses/querymid 通过id获取mid
statuses/queryid 通过mid获取id
statuses/count 批量获取指定微博的转发数评论数
statuses/to_me 获取当前登录用户关注的人发给其的定向微博
statuses/to_me/ids 获取当前登录用户关注的人发给其的定向微博ID列表
statuses/go 根据ID跳转到单条微博页
emotions 获取官方表情
Write API statuses/repost 转发一条微博信息
statuses/destroy 删除微博信息
statuses/update 发布一条微博信息
statuses/upload 上传图片并发布一条微博
statuses/upload_url_text 发布一条微博同时指定上传的图片或图片url
statuses/filter/create 屏蔽某条微博
statuses/mentions/shield 屏蔽某个@我的微博及后续由其转发引起的@提及
Comments API
Read API comments/show 获取某条微博的评论列表
comments/by_me 我发出的评论列表
comments/to_me 我收到的评论列表
comments/timeline 获取用户发送及收到的评论列表
comments/mentions 获取@到我的评论
comments/show_batch 批量获取评论内容
Write API comments/create 评论一条微博
comments/destroy 删除一条评论
comments/destroy_batch 批量删除评论
comments/reply 回复一条评论
Users API
Read API users/show 获取用户信息
users/domain_show 通过个性域名获取用户信息
users/counts 批量获取用户的粉丝数、关注数、微博数
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 获取用户的关注列表
friendships/friends/remark_batch 批量获取当前登录用户的关注人的备注信息
friendships/friends/in_common 获取共同关注人列表
friendships/friends/bilateral 获取双向关注列表
friendships/friends/bilateral/ids 获取双向关注UID列表
friendships/friends/ids 获取用户关注对象UID列表
Follower Read API friendships/followers 获取用户粉丝列表
friendships/followers/ids 获取用户粉丝UID列表
friendships/followers/active 获取用户优质粉丝列表
Friendship Chain Read API friendships/friends_chain/followers 获取我的关注人中关注了指定用户的人
Friendship Read API friendships/show 获取两个用户关系的详细情况
Write API friendships/create 关注某用户
friendships/destroy 取消关注某用户
friendships/followers/destroy 移除当前登录用户的粉丝
friendships/remark/update 更新关注人备注
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 获取隐私设置信息
account/profile/school_list 获取所有学校列表
account/rate_limit_status 获取当前用户API访问频率限制
account/profile/email 获取用户的联系邮箱
account/get_uid OAuth授权之后获取用户UID(作用相当于旧版接口的 account/verify_credentials
Write API account/end_session 退出登录
Favorites API
Read API favorites 获取当前用户的收藏列表
favorites/ids 获取当前用户的收藏列表的ID
favorites/show 获取单条收藏信息
favorites/by_tags 获取当前用户某个标签下的收藏列表
favorites/tags 当前登录用户的收藏标签列表
favorites/by_tags/ids 获取当前用户某个标签下的收藏列表的ID
Write API favorites/create 添加收藏
favorites/destroy 删除收藏
favorites/destroy_batch 批量删除收藏
favorites/tags/update 更新收藏标签
favorites/tags/update_batch 更新当前用户所有收藏下的指定标签
favorites/tags/destroy_batch 删除当前用户所有收藏下的指定标签
Topics API
Read API trends/hourly 返回最近一小时内的热门话题
trends/daily 返回最近一天内的热门话题
trends/weekly 返回最近一周内的热门话题
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 返回指定用户的标签列表
tags/tags_batch 批量获取用户标签
tags/suggestions 返回系统推荐的标签列表
Write API tags/create 添加用户标签
tags/destroy 删除用户标签
tags/destroy_batch 批量删除用户标签
Register API
Read API register/verify_nickname 验证昵称是否可用
Search API
Suggestion Search API search/suggestions/users 搜用户搜索建议
search/suggestions/schools 搜学校搜索建议
search/suggestions/companies 搜公司搜索建议
search/suggestions/apps 搜应用搜索建议
search/suggestions/at_users @联想搜索
Topics Search API search/topics 搜索某一话题下的微博
Recommend API
Read API suggestions/users/hot 获取系统推荐用户
suggestions/users/may_interested 获取用户可能感兴趣的人
suggestions/users/by_status 根据微博内容推荐用户
suggestions/statuses/reorder 主Feed微博按兴趣推荐排序
suggestions/statuses/reorder/ids 主Feed微博按兴趣推荐排序的微博ID
suggestions/favorites/hot 热门收藏
Write API suggestions/users/not_interested 不感兴趣的人
Remind API
Read API remind/unread_count 获取某个用户的各种消息未读数
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 通过地址编码获取地址名称
common/get_city 获取城市列表
common/get_province 获取省份列表
common/get_country 获取国家列表
common/get_timezone 获取时区配置表
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 生成一张静态的地图图片
Geo Transform API location/geo/ip_to_geo 根据IP地址返回地理信息坐标
location/geo/address_to_geo 根据实际地址返回地理信息坐标
location/geo/geo_to_address 根据地理信息坐标返回实际地址
location/geo/gps_to_offset 根据GPS坐标获取偏移后的坐标
location/geo/is_domestic 判断地理信息坐标是否是国内坐标
POI Search API location/pois/search/by_location 根据关键词按地址位置获取POI点的信息
location/pois/search/by_geo 根据关键词按坐标点范围获取POI点的信息
location/pois/search/by_area 根据关键词按矩形区域获取POI点的信息
POI Write API location/pois/show_batch 批量获取POI点的信息
location/pois/add 提交一个新增的POI点信息
Mobile Geo API location/mobile/get_location 根据移动基站WIFI等数据获取当前位置信息
Routes API location/line/drive_route 根据起点与终点数据查询自驾车路线信息
location/line/bus_route 根据起点与终点数据查询公交乘坐路线信息
location/line/bus_line 根据关键词查询公交线路信息
location/line/bus_station 根据关键词查询公交站点信息
Geo Property Directions location/citycode 城市代码对应表
location/citycode_bus 公交城市代码表
location/category 分类代码对应表
location/error2 地理位置信息接口错误代码及解释


OAuth2(learn more
Request Authorize oauth2/authorize 请求用户授权Token
Get Authorize oauth2/access_token 获取授权过的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 授权回收接口,帮助开发者主动取消用户的授权