|
|
第1行: |
第1行: |
| <div class="wiki_kit"> | | <div class="wiki_kit"> |
| | | |
− | <p class="tips_txt">注:点击查看 [[V1_To_V2|V1到V2接口迁移指南]],查看 [[API文档|旧版接口文档]]</p> | + | <p class="tips_txt">页面已合并至 [[微博API|微博API]]</p> |
| | | |
− | <div class="wiki_taglist">
| + | </div> |
− | <ul class="clearfix">
| + | |
− | <li>[[#微博|微博接口]]</li>
| + | |
− | <li>[[#评论|评论接口]]</li>
| + | |
− | <li>[[#用户|用户接口]]</li>
| + | |
− | <li>[[#置顶微博|置顶微博接口]]</li>
| + | |
− | <li>[[#关系|关系接口]]</li>
| + | |
− | <li>[[#好友分组|好友分组接口]]</li>
| + | |
− | <li>[[#账号|账号接口]]</li>
| + | |
− | <li>[[#收藏|收藏接口]]</li>
| + | |
− | <li>[[#话题|话题接口]]</li>
| + | |
− | <li>[[#微博标签|微博标签接口]]</li>
| + | |
− | <li>[[#用户标签|用户标签接口]]</li>
| + | |
− | <li>[[#注册|注册接口]]</li>
| + | |
− | <li>[[#搜索|搜索接口]]</li>
| + | |
− | <li>[[#推荐|推荐接口]]</li>
| + | |
− | <li>[[#提醒|提醒接口]]</li>
| + | |
− | <li>[[#短链|短链接口]]</li>
| + | |
− | <li>[[#通知|通知接口]]</li>
| + | |
− | <li>[[#公共服务|公共服务接口]]</li>
| + | |
− | <li>[[#位置服务|位置服务接口]]</li>
| + | |
− | <li>[[#地理信息|地理信息接口]]</li>
| + | |
− | <li>[[社交电视|社交电视接口]]</li>
| + | |
− | <li>[[视频上传|视频上传]]</li>
| + | |
− | <li>[[#OAuth2|OAuth 2.0授权接口]]</li>
| + | |
− | <li>[[Map-JS|地图引擎接口]]</li>
| + | |
− | <li>[[支付接口|支付接口]]</li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </div>
| + | |
− | | + | |
− | <p class="tips_txt">标识为 {{Icon_adv}} 的接口为高级权限接口,需要申请才可以调用,申请方式请见 [[高级接口申请]]</p>
| + | |
− | <p class="tips_txt">标识为 {{Icon_scope}} 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,具体使用方法请见 [[scope]]</p>
| + | |
− | | + | |
− | | + | |
− | {|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="微博">微博</span>
| + | |
− | |-
| + | |
− | |rowspan="21" style="text-align:center;"|读取接口
| + | |
− | |[[2/statuses/public_timeline|statuses/public_timeline]]
| + | |
− | |获取最新的公共微博
| + | |
− | |-
| + | |
− | |[[2/statuses/friends_timeline|statuses/friends_timeline]]
| + | |
− | |获取当前登录用户及其所关注用户的最新微博
| + | |
− | |-
| + | |
− | |[[2/statuses/home_timeline|statuses/home_timeline]]
| + | |
− | |获取当前登录用户及其所关注用户的最新微博
| + | |
− | |-
| + | |
− | |[[2/statuses/friends_timeline/ids|statuses/friends_timeline/ids]]
| + | |
− | |获取当前登录用户及其所关注用户的最新微博的ID
| + | |
− | |-
| + | |
− | |[[2/statuses/user_timeline|statuses/user_timeline]]
| + | |
− | |获取用户发布的微博
| + | |
− | |-
| + | |
− | |[[2/statuses/user_timeline/ids|statuses/user_timeline/ids]]
| + | |
− | |获取用户发布的微博的ID {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/timeline_batch|statuses/timeline_batch]]
| + | |
− | |批量获取指定的一批用户的微博列表 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/repost_timeline|statuses/repost_timeline]]
| + | |
− | |返回一条原创微博的最新转发微博
| + | |
− | |-
| + | |
− | |[[2/statuses/repost_timeline/ids|statuses/repost_timeline/ids]]
| + | |
− | |获取一条原创微博的最新转发微博的ID {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/mentions|statuses/mentions]]
| + | |
− | |获取@当前用户的最新微博
| + | |
− | |-
| + | |
− | |[[2/statuses/mentions/ids|statuses/mentions/ids]]
| + | |
− | |获取@当前用户的最新微博的ID {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/bilateral_timeline|statuses/bilateral_timeline]]
| + | |
− | |获取双向关注用户的最新微博 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/show|statuses/show]]
| + | |
− | |根据ID获取单条微博信息
| + | |
− | |-
| + | |
− | |[[2/statuses/show_batch|statuses/show_batch]]
| + | |
− | |根据微博ID批量获取微博信息 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/querymid|statuses/querymid]]
| + | |
− | |通过id获取mid
| + | |
− | |-
| + | |
− | |[[2/statuses/queryid|statuses/queryid]]
| + | |
− | |通过mid获取id
| + | |
− | |-
| + | |
− | |[[2/statuses/count|statuses/count]]
| + | |
− | |批量获取指定微博的转发数评论数
| + | |
− | |-
| + | |
− | |[[2/statuses/to_me|statuses/to_me]]
| + | |
− | |获取当前登录用户关注的人发给其的定向微博 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/statuses/to_me/ids|statuses/to_me/ids]]
| + | |
− | |获取当前登录用户关注的人发给其的定向微博ID列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/statuses/go|statuses/go]]
| + | |
− | |根据ID跳转到单条微博页{{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/emotions|emotions]]
| + | |
− | |获取官方表情
| + | |
− | |-
| + | |
− | |rowspan="7" style="text-align:center;"|写入接口
| + | |
− | |[[2/statuses/repost|statuses/repost]]
| + | |
− | |转发一条微博信息
| + | |
− | |-
| + | |
− | |[[2/statuses/destroy|statuses/destroy]]
| + | |
− | |删除微博信息
| + | |
− | |-
| + | |
− | |[[2/statuses/update|statuses/update]]
| + | |
− | |发布一条微博信息 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/upload|statuses/upload]]
| + | |
− | |上传图片并发布一条微博 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/upload_url_text|statuses/upload_url_text]]
| + | |
− | |发布一条微博同时指定上传的图片或图片url {{Icon_adv}} {{Icon_new2}}
| + | |
− | | + | |
− | |-
| + | |
− | |[[2/statuses/filter/create|statuses/filter/create]]
| + | |
− | |屏蔽某条微博 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/mentions/shield|statuses/mentions/shield]]
| + | |
− | |屏蔽某个@我的微博及后续由其转发引起的@提及 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="评论">评论</span>
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|读取接口
| + | |
− | |[[2/comments/show|comments/show]]
| + | |
− | |获取某条微博的评论列表
| + | |
− | |-
| + | |
− | |[[2/comments/by_me|comments/by_me]]
| + | |
− | |我发出的评论列表
| + | |
− | |-
| + | |
− | |[[2/comments/to_me|comments/to_me]]
| + | |
− | |我收到的评论列表
| + | |
− | |-
| + | |
− | |[[2/comments/timeline|comments/timeline]]
| + | |
− | |获取用户发送及收到的评论列表
| + | |
− | |-
| + | |
− | |[[2/comments/mentions|comments/mentions]]
| + | |
− | |获取@到我的评论
| + | |
− | |-
| + | |
− | |[[2/comments/show_batch|comments/show_batch]]
| + | |
− | |批量获取评论内容
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|写入接口
| + | |
− | |[[2/comments/create|comments/create]]
| + | |
− | |评论一条微博
| + | |
− | |-
| + | |
− | |[[2/comments/destroy|comments/destroy]]
| + | |
− | |删除一条评论
| + | |
− | |-
| + | |
− | |[[2/comments/destroy_batch|comments/destroy_batch]]
| + | |
− | |批量删除评论
| + | |
− | |-
| + | |
− | |[[2/comments/reply|comments/reply]]
| + | |
− | |回复一条评论
| + | |
− | |}
| + | |
− | | + | |
− | {|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="用户">用户</span>
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|读取接口
| + | |
− | |[[2/users/show|users/show]]
| + | |
− | |获取用户信息 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/users/domain_show|users/domain_show]]
| + | |
− | |通过个性域名获取用户信息
| + | |
− | |-
| + | |
− | |[[2/users/counts|users/counts]]
| + | |
− | |批量获取用户的粉丝数、关注数、微博数
| + | |
− | |-
| + | |
− | |[[2/users/show_rank|users/show_rank]]
| + | |
− | |获取用户等级信息 {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="置顶微博">置顶微博</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|读取接口
| + | |
− | |[[2/users/get_top_status|users/get_top_status]]
| + | |
− | |获取用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="2" style="text-align:center;"|写入接口
| + | |
− | |[[2/users/set_top_status|users/set_top_status]]
| + | |
− | |设置用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/users/cancel_top_status|users/cancel_top_status]]
| + | |
− | |取消用户主页置顶微博 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="关系">关系</span>
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|关注读取接口
| + | |
− | |[[2/friendships/friends|friendships/friends]]
| + | |
− | |获取用户的关注列表
| + | |
− | |-
| + | |
− | |[[2/friendships/friends/remark_batch|friendships/friends/remark_batch]]
| + | |
− | |批量获取当前登录用户的关注人的备注信息 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/friendships/friends/in_common|friendships/friends/in_common]]
| + | |
− | |获取共同关注人列表
| + | |
− | |-
| + | |
− | |[[2/friendships/friends/bilateral|friendships/friends/bilateral]]
| + | |
− | |获取双向关注列表
| + | |
− | |-
| + | |
− | |[[2/friendships/friends/bilateral/ids|friendships/friends/bilateral/ids]]
| + | |
− | |获取双向关注UID列表
| + | |
− | |-
| + | |
− | |[[2/friendships/friends/ids|friendships/friends/ids]]
| + | |
− | |获取用户关注对象UID列表
| + | |
− | |-
| + | |
− | |rowspan="3" style="text-align:center;"|粉丝读取接口
| + | |
− | |[[2/friendships/followers|friendships/followers]]
| + | |
− | |获取用户粉丝列表
| + | |
− | |-
| + | |
− | |[[2/friendships/followers/ids|friendships/followers/ids]]
| + | |
− | |获取用户粉丝UID列表
| + | |
− | |-
| + | |
− | |[[2/friendships/followers/active|friendships/followers/active]]
| + | |
− | |获取用户优质粉丝列表
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|关系链读取接口
| + | |
− | |[[2/friendships/friends_chain/followers|friendships/friends_chain/followers]]
| + | |
− | |获取我的关注人中关注了指定用户的人
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|关系读取接口
| + | |
− | |[[2/friendships/show|friendships/show]]
| + | |
− | |获取两个用户关系的详细情况
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|写入接口
| + | |
− | |[[2/friendships/create|friendships/create]]
| + | |
− | |关注某用户
| + | |
− | |-
| + | |
− | |[[2/friendships/destroy|friendships/destroy]]
| + | |
− | |取消关注某用户
| + | |
− | |-
| + | |
− | |[[2/friendships/followers/destroy|friendships/followers/destroy]]
| + | |
− | |移除当前登录用户的粉丝 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/friendships/remark/update|friendships/remark/update]]
| + | |
− | |更新关注人备注 {{Icon_adv}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="好友分组">好友分组</span>
| + | |
− | |-
| + | |
− | |rowspan="10" style="text-align:center;"|读取接口
| + | |
− | |[[2/friendships/groups|friendships/groups]]
| + | |
− | |获取当前登陆用户好友分组列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/timeline|friendships/groups/timeline]]
| + | |
− | |获取某一好友分组的微博列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/timeline/ids|friendships/groups/timeline/ids]]
| + | |
− | |获取某一好友分组的微博ID列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members|friendships/groups/members]]
| + | |
− | |获取某一好友分组下的成员列表 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/ids|friendships/groups/members/ids]]
| + | |
− | |获取某一好友分组下的成员列表的ID {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/description|friendships/groups/members/description]]
| + | |
− | |批量取好友分组成员的分组说明 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/is_member|friendships/groups/is_member]]
| + | |
− | |判断某个用户是否是指定好友分组内的成员 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/listed|friendships/groups/listed]]
| + | |
− | |批量获取某些用户在指定用户的好友分组中的收录信息 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/show|friendships/groups/show]]
| + | |
− | |获取某个分组的详细信息 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/show_batch|friendships/groups/show_batch]]
| + | |
− | |批量获取好友分组的详细信息 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |rowspan="8" style="text-align:center;"|写入接口
| + | |
− | |[[2/friendships/groups/create|friendships/groups/create]]
| + | |
− | |创建好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/update|friendships/groups/update]]
| + | |
− | |更新好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/destroy|friendships/groups/destroy]]
| + | |
− | |删除好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/add|friendships/groups/members/add]]
| + | |
− | |添加关注用户到好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/add_batch|friendships/groups/members/add_batch]]
| + | |
− | |批量添加用户到好友分组 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/update|friendships/groups/members/update]]
| + | |
− | |更新好友分组中成员的分组说明 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/members/destroy|friendships/groups/members/destroy]]
| + | |
− | |删除好友分组内的关注用户 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/friendships/groups/order|friendships/groups/order]]
| + | |
− | |调整当前登录用户的好友分组顺序 {{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="账号">账号</span>
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|读取接口
| + | |
− | |[[2/account/get_privacy|account/get_privacy]]
| + | |
− | |获取隐私设置信息
| + | |
− | |-
| + | |
− | |[[2/account/profile/school_list|account/profile/school_list]]
| + | |
− | |获取所有学校列表
| + | |
− | |-
| + | |
− | |[[2/account/rate_limit_status|account/rate_limit_status]]
| + | |
− | |获取当前用户API访问频率限制
| + | |
− | |-
| + | |
− | |[[2/account/profile/email|account/profile/email]]
| + | |
− | |获取用户的联系邮箱{{Icon_adv}} {{Icon_new2}} {{Icon_scope}}
| + | |
− | |-
| + | |
− | |[[2/account/get_uid|account/get_uid]]
| + | |
− | |OAuth授权之后获取用户UID(作用相当于旧版接口的 [[account/verify_credentials]])
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|写入接口
| + | |
− | |[[2/account/end_session|account/end_session]]
| + | |
− | |退出登录
| + | |
− | |}
| + | |
− | | + | |
− | {|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="收藏">收藏</span>
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|读取接口
| + | |
− | |[[2/favorites|favorites]]
| + | |
− | |获取当前用户的收藏列表
| + | |
− | |-
| + | |
− | |[[2/favorites/ids|favorites/ids]]
| + | |
− | |获取当前用户的收藏列表的ID {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/favorites/show|favorites/show]]
| + | |
− | |获取单条收藏信息
| + | |
− | |-
| + | |
− | |[[2/favorites/by_tags|favorites/by_tags]]
| + | |
− | |获取当前用户某个标签下的收藏列表
| + | |
− | |-
| + | |
− | |[[2/favorites/tags|favorites/tags]]
| + | |
− | |当前登录用户的收藏标签列表
| + | |
− | |-
| + | |
− | |[[2/favorites/by_tags/ids|favorites/by_tags/ids]]
| + | |
− | |获取当前用户某个标签下的收藏列表的ID {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|写入接口
| + | |
− | |[[2/favorites/create|favorites/create]]
| + | |
− | |添加收藏
| + | |
− | |-
| + | |
− | |[[2/favorites/destroy|favorites/destroy]]
| + | |
− | |删除收藏
| + | |
− | |-
| + | |
− | |[[2/favorites/destroy_batch|favorites/destroy_batch]]
| + | |
− | |批量删除收藏
| + | |
− | |-
| + | |
− | |[[2/favorites/tags/update|favorites/tags/update]]
| + | |
− | |更新收藏标签
| + | |
− | |-
| + | |
− | |[[2/favorites/tags/update_batch|favorites/tags/update_batch]]
| + | |
− | |更新当前用户所有收藏下的指定标签
| + | |
− | |-
| + | |
− | |[[2/favorites/tags/destroy_batch|favorites/tags/destroy_batch]]
| + | |
− | |删除当前用户所有收藏下的指定标签
| + | |
− | |}
| + | |
− | | + | |
− | {|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="话题">话题</span>
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|读取接口
| + | |
− | |[[2/trends|trends]]
| + | |
− | |获取某人话题
| + | |
− | |-
| + | |
− | |[[2/trends/is_follow|trends/is_follow]]
| + | |
− | |是否关注某话题
| + | |
− | |-
| + | |
− | |[[2/trends/hourly|trends/hourly]]
| + | |
− | |返回最近一小时内的热门话题
| + | |
− | |-
| + | |
− | |[[2/trends/daily|trends/daily]]
| + | |
− | |返回最近一天内的热门话题
| + | |
− | |-
| + | |
− | |[[2/trends/weekly|trends/weekly]]
| + | |
− | |返回最近一周内的热门话题
| + | |
− | |-
| + | |
− | |rowspan="2" style="text-align:center;"|写入接口
| + | |
− | |[[2/trends/follow|trends/follow]]
| + | |
− | |关注某话题
| + | |
− | |-
| + | |
− | |[[2/trends/destroy|trends/destroy]]
| + | |
− | |取消关注的某一个话题
| + | |
− | |}
| + | |
− | | + | |
− | {|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="微博标签">微博标签</span>
| + | |
− | |-
| + | |
− | |rowspan="3" style="text-align:center;"|读取接口
| + | |
− | |[[2/statuses/tags|statuses/tags]]
| + | |
− | |获取用户的微博标签列表 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/tags/show_batch|statuses/tags/show_batch]]
| + | |
− | |批量获取微博标签 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/tag_timeline/ids|statuses/tag_timeline/ids]]
| + | |
− | |获取用户某个标签的微博ID列表 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|写入接口
| + | |
− | |[[2/statuses/tags/create|statuses/tags/create]]
| + | |
− | |创建标签 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/tags/destroy|statuses/tags/destroy]]
| + | |
− | |删除标签 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/tags/update|statuses/tags/update]]
| + | |
− | |更新标签 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/statuses/update_tags|statuses/update_tags]]
| + | |
− | |更新某个微博的标签 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="用户标签">用户标签</span>
| + | |
− | |-
| + | |
− | |rowspan="3" style="text-align:center;"|读取接口
| + | |
− | |[[2/tags|tags]]
| + | |
− | |返回指定用户的标签列表
| + | |
− | |-
| + | |
− | |[[2/tags/tags_batch|tags/tags_batch]]
| + | |
− | |批量获取用户标签
| + | |
− | |-
| + | |
− | |[[2/tags/suggestions|tags/suggestions]]
| + | |
− | |返回系统推荐的标签列表
| + | |
− | |-
| + | |
− | |rowspan="3" style="text-align:center;"|写入接口
| + | |
− | |[[2/tags/create|tags/create]]
| + | |
− | |添加用户标签
| + | |
− | |-
| + | |
− | |[[2/tags/destroy|tags/destroy]]
| + | |
− | |删除用户标签
| + | |
− | |-
| + | |
− | |[[2/tags/destroy_batch|tags/destroy_batch]]
| + | |
− | |批量删除用户标签
| + | |
− | |}
| + | |
− | | + | |
− | {|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="注册">注册</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|读取接口
| + | |
− | |[[2/register/verify_nickname|register/verify_nickname]]
| + | |
− | |验证昵称是否可用
| + | |
− | |}
| + | |
− | | + | |
− | {|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="搜索">搜索</span>
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|搜索联想接口
| + | |
− | |[[2/search/suggestions/users|search/suggestions/users]]
| + | |
− | |搜用户搜索建议
| + | |
− | |-
| + | |
− | |[[2/search/suggestions/schools|search/suggestions/schools]]
| + | |
− | |搜学校搜索建议
| + | |
− | |-
| + | |
− | |[[2/search/suggestions/companies|search/suggestions/companies]]
| + | |
− | |搜公司搜索建议
| + | |
− | |-
| + | |
− | |[[2/search/suggestions/apps|search/suggestions/apps]]
| + | |
− | |搜应用搜索建议
| + | |
− | |-
| + | |
− | |[[2/search/suggestions/at_users|search/suggestions/at_users]]
| + | |
− | |@联想搜索
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|搜索话题接口
| + | |
− | |[[2/search/topics|search/topics]]
| + | |
− | |搜索某一话题下的微博 {{Icon_adv}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="推荐">推荐</span>
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|读取接口
| + | |
− | |[[2/suggestions/users/hot|suggestions/users/hot]]
| + | |
− | |获取系统推荐用户
| + | |
− | |-
| + | |
− | |[[2/suggestions/users/may_interested|suggestions/users/may_interested]]
| + | |
− | |获取用户可能感兴趣的人
| + | |
− | |-
| + | |
− | |[[2/suggestions/users/by_status|suggestions/users/by_status]]
| + | |
− | |根据微博内容推荐用户
| + | |
− | |-
| + | |
− | |[[2/suggestions/statuses/reorder|suggestions/statuses/reorder]]
| + | |
− | |主Feed微博按兴趣推荐排序
| + | |
− | |-
| + | |
− | |[[2/suggestions/statuses/reorder/ids|suggestions/statuses/reorder/ids]]
| + | |
− | |主Feed微博按兴趣推荐排序的微博ID
| + | |
− | |-
| + | |
− | |[[2/suggestions/favorites/hot|suggestions/favorites/hot]]
| + | |
− | |热门收藏
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|写入接口
| + | |
− | |[[2/suggestions/users/not_interested|suggestions/users/not_interested]]
| + | |
− | |不感兴趣的人
| + | |
− | |}
| + | |
− | | + | |
− | {|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="提醒">提醒</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|读取接口
| + | |
− | |[[2/remind/unread_count|remind/unread_count]]
| + | |
− | |获取某个用户的各种消息未读数 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|写入接口
| + | |
− | |[[2/remind/set_count|remind/set_count]]
| + | |
− | |对当前登录用户某一种消息未读数进行清零 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="短链">短链</span>
| + | |
− | |-
| + | |
− | |rowspan="2" style="text-align:center;"|转换接口
| + | |
− | |[[2/short_url/shorten|short_url/shorten]]
| + | |
− | |长链转短链 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/expand|short_url/expand]]
| + | |
− | |短链转长链 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="8" style="text-align:center;"|数据接口
| + | |
− | |[[2/short_url/clicks|short_url/clicks]]
| + | |
− | |获取短链接的总点击数 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/referers|short_url/referers]]
| + | |
− | |获取一个短链接点击的referer来源和数量 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/locations|short_url/locations]]
| + | |
− | |获取一个短链接点击的地区来源和数量 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/share/counts|short_url/share/counts]]
| + | |
− | |获取短链接在微博上的微博分享数 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/share/statuses|short_url/share/statuses]]
| + | |
− | |获取包含指定单个短链接的最新微博内容 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/comment/counts|short_url/comment/counts]]
| + | |
− | |获取短链接在微博上的微博评论数 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/comment/comments|short_url/comment/comments]]
| + | |
− | |获取包含指定单个短链接的最新微博评论 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/short_url/info|short_url/info]]
| + | |
− | |批量获取短链接的富内容信息 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="通知">通知</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|发送接口
| + | |
− | |[[2/notification/send|notification/send]]
| + | |
− | |给一个或多个用户发送一条新的状态通知 {{Icon_adv}} {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="公共服务">公共服务</span>
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|读取接口
| + | |
− | |[[2/common/code_to_location|common/code_to_location]]
| + | |
− | |通过地址编码获取地址名称 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/common/get_city|common/get_city]]
| + | |
− | |获取城市列表 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/common/get_province|common/get_province]]
| + | |
− | |获取省份列表 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/common/get_country|common/get_country]]
| + | |
− | |获取国家列表 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |[[2/common/get_timezone|common/get_timezone]]
| + | |
− | |获取时区配置表 {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="位置服务">位置服务([[位置服务|开发指南]])</span>
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|动态读取接口
| + | |
− | |[[2/place/public_timeline|place/public_timeline]]
| + | |
− | |获取公共的位置动态 {{Icon_adv}}
| + | |
− | |-
| + | |
− | |[[2/place/friends_timeline|place/friends_timeline]]
| + | |
− | |获取用户好友的位置动态
| + | |
− | |-
| + | |
− | |[[2/place/user_timeline|place/user_timeline]]
| + | |
− | |获取某个用户的位置动态
| + | |
− | |-
| + | |
− | |[[2/place/poi_timeline|place/poi_timeline]]
| + | |
− | |获取某个位置地点的动态
| + | |
− | |-
| + | |
− | |[[2/place/nearby_timeline|place/nearby_timeline]]
| + | |
− | |获取某个位置周边的动态
| + | |
− | |-
| + | |
− | |[[2/place/statuses/show|place/statuses/show]]
| + | |
− | |获取动态的详情
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|用户读取接口
| + | |
− | |[[2/place/users/show|place/users/show]]
| + | |
− | |获取LBS位置服务内的用户信息
| + | |
− | |-
| + | |
− | |[[2/place/users/checkins|place/users/checkins]]
| + | |
− | |获取用户签到过的地点列表
| + | |
− | |-
| + | |
− | |[[2/place/users/photos|place/users/photos]]
| + | |
− | |获取用户的照片列表
| + | |
− | |-
| + | |
− | |[[2/place/users/tips|place/users/tips]]
| + | |
− | |获取用户的点评列表
| + | |
− | |-
| + | |
− | |[[2/place/users/todos|place/users/todos]]
| + | |
− | |获取用户的todo列表 {{Icon_adv}}
| + | |
− | |-
| + | |
− | |rowspan="6" style="text-align:center;"|地点读取接口
| + | |
− | |[[2/place/pois/show|place/pois/show]]
| + | |
− | |获取地点详情
| + | |
− | |-
| + | |
− | |[[2/place/pois/users|place/pois/users]]
| + | |
− | |获取在某个地点签到的人的列表
| + | |
− | |-
| + | |
− | |[[2/place/pois/tips|place/pois/tips]]
| + | |
− | |获取地点点评列表
| + | |
− | |-
| + | |
− | |[[2/place/pois/photos|place/pois/photos]]
| + | |
− | |获取地点照片列表
| + | |
− | |-
| + | |
− | |[[2/place/pois/search|place/pois/search]]
| + | |
− | |按省市查询地点
| + | |
− | |-
| + | |
− | |[[2/place/pois/category|place/pois/category]]
| + | |
− | |获取地点分类
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|附近读取接口
| + | |
− | |[[2/place/nearby/pois|place/nearby/pois]]
| + | |
− | |获取附近地点
| + | |
− | |-
| + | |
− | |[[2/place/nearby/users|place/nearby/users]]
| + | |
− | |获取附近发位置微博的人
| + | |
− | |-
| + | |
− | |[[2/place/nearby/photos|place/nearby/photos]]
| + | |
− | |获取附近照片
| + | |
− | |-
| + | |
− | |[[2/place/nearby_users/list|place/nearby_users/list]]
| + | |
− | |获取附近的人 {{Icon_adv}}
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|地点写入接口
| + | |
− | |[[2/place/pois/create|place/pois/create]]
| + | |
− | |添加地点 {{Icon_adv}}
| + | |
− | |-
| + | |
− | |[[2/place/pois/add_checkin|place/pois/add_checkin]]
| + | |
− | |签到
| + | |
− | |-
| + | |
− | |[[2/place/pois/add_photo|place/pois/add_photo]]
| + | |
− | |添加照片
| + | |
− | |-
| + | |
− | |[[2/place/pois/add_tip|place/pois/add_tip]]
| + | |
− | |添加点评
| + | |
− | |-
| + | |
− | |[[2/place/pois/add_todo|place/pois/add_todo]]
| + | |
− | |添加todo {{Icon_adv}}
| + | |
− | |-
| + | |
− | |rowspan="2" style="text-align:center;"|附近写入接口
| + | |
− | |[[2/place/nearby_users/create|place/nearby_users/create]]
| + | |
− | |用户添加自己的位置 {{Icon_adv}}
| + | |
− | |-
| + | |
− | |[[2/place/nearby_users/destroy|place/nearby_users/destroy]]
| + | |
− | |用户删除自己的位置 {{Icon_adv}}
| + | |
− | |}
| + | |
− | | + | |
− | {|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="地理信息">地理信息</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|基础位置读取接口
| + | |
− | |[[2/location/base/get_map_image|location/base/get_map_image]]
| + | |
− | |生成一张静态的地图图片
| + | |
− | |-
| + | |
− | |rowspan="5" style="text-align:center;"|坐标转换接口
| + | |
− | |[[2/location/geo/ip_to_geo|location/geo/ip_to_geo]]
| + | |
− | |根据IP地址返回地理信息坐标
| + | |
− | |-
| + | |
− | |[[2/location/geo/address_to_geo|location/geo/address_to_geo]]
| + | |
− | |根据实际地址返回地理信息坐标
| + | |
− | |-
| + | |
− | |[[2/location/geo/geo_to_address|location/geo/geo_to_address]]
| + | |
− | |根据地理信息坐标返回实际地址
| + | |
− | |-
| + | |
− | |[[2/location/geo/gps_to_offset|location/geo/gps_to_offset]]
| + | |
− | |根据GPS坐标获取偏移后的坐标
| + | |
− | |-
| + | |
− | |[[2/location/geo/is_domestic|location/geo/is_domestic]]
| + | |
− | |判断地理信息坐标是否是国内坐标
| + | |
− | |-
| + | |
− | |rowspan="3" style="text-align:center;"|POI数据搜索接口
| + | |
− | |[[2/location/pois/search/by_location|location/pois/search/by_location]]
| + | |
− | |根据关键词按地址位置获取POI点的信息
| + | |
− | |-
| + | |
− | |[[2/location/pois/search/by_geo|location/pois/search/by_geo]]
| + | |
− | |根据关键词按坐标点范围获取POI点的信息
| + | |
− | |-
| + | |
− | |[[2/location/pois/search/by_area|location/pois/search/by_area]]
| + | |
− | |根据关键词按矩形区域获取POI点的信息
| + | |
− | |-
| + | |
− | |rowspan="2" style="text-align:center;"|POI数据读写接口
| + | |
− | |[[2/location/pois/show_batch|location/pois/show_batch]]
| + | |
− | |批量获取POI点的信息
| + | |
− | |-
| + | |
− | |[[2/location/pois/add|location/pois/add]]
| + | |
− | |提交一个新增的POI点信息
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|移动服务读取接口
| + | |
− | |[[2/location/mobile/get_location|location/mobile/get_location]]
| + | |
− | |根据移动基站WIFI等数据获取当前位置信息
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|交通路线读取接口
| + | |
− | |[[2/location/line/drive_route|location/line/drive_route]]
| + | |
− | |根据起点与终点数据查询自驾车路线信息
| + | |
− | |-
| + | |
− | |[[2/location/line/bus_route|location/line/bus_route]]
| + | |
− | |根据起点与终点数据查询公交乘坐路线信息
| + | |
− | |-
| + | |
− | |[[2/location/line/bus_line|location/line/bus_line]]
| + | |
− | |根据关键词查询公交线路信息
| + | |
− | |-
| + | |
− | |[[2/location/line/bus_station|location/line/bus_station]]
| + | |
− | |根据关键词查询公交站点信息
| + | |
− | |-
| + | |
− | |rowspan="4" style="text-align:center;"|地理信息字段说明
| + | |
− | |[[location/citycode|location/citycode]]
| + | |
− | |城市代码对应表
| + | |
− | |-
| + | |
− | |[[location/citycode_bus|location/citycode_bus]]
| + | |
− | |公交城市代码表
| + | |
− | |-
| + | |
− | |[[location/category|location/category]]
| + | |
− | |分类代码对应表
| + | |
− | |-
| + | |
− | |[[location/error2|location/error2]]
| + | |
− | |地理位置信息接口错误代码及解释
| + | |
− | |}
| + | |
− | | + | |
− | | + | |
− | {|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="OAuth2">OAuth2([[授权机制说明|开发指南]])</span>
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|请求授权
| + | |
− | |[[oauth2/authorize]]
| + | |
− | |请求用户授权Token
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|获取授权
| + | |
− | |[[OAuth2/access_token|oauth2/access_token]]
| + | |
− | |获取授权过的Access Token
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|授权查询
| + | |
− | |[[oauth2/get_token_info]]
| + | |
− | |查询用户access_token的授权相关信息 {{Icon_new2}}
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|替换授权
| + | |
− | |[[oauth2/get_oauth2_token]]
| + | |
− | |OAuth1.0的Access Token更换至OAuth2.0的Access Token
| + | |
− | |-
| + | |
− | |rowspan="1" style="text-align:center;"|授权回收
| + | |
− | |[[Oauth2/revokeoauth2|OAuth2/revokeoauth2]]
| + | |
− | |授权回收接口,帮助开发者主动取消用户的授权 {{Icon_new2}}
| + | |
− | |}
| + | |
− | | + | |
− | | + | |
− | __NOTOC__
| + | |