Business API文档

跳转到: 导航, 搜索
第1行: 第1行:
 
<!--<p class="tips_txt">标识为 {{Icon_scope}} 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,具体使用方法请见 [[scope]]</p>-->
 
<!--<p class="tips_txt">标识为 {{Icon_scope}} 的接口为需要单独向用户提出SCOPE授权请求的接口,用户单独授权后才可以调用,具体使用方法请见 [[scope]]</p>-->
  
== 数据API ==
+
== 商业数据API ==
 
<!--=== 粉丝数据 ===
 
<!--=== 粉丝数据 ===
 
*[[c/2/friendships/followers/all/ids|friendships/followers/all/ids]] 获取授权用户的全量粉丝ID列表
 
*[[c/2/friendships/followers/all/ids|friendships/followers/all/ids]] 获取授权用户的全量粉丝ID列表
第36行: 第36行:
 
=== 微博内容数据 ===
 
=== 微博内容数据 ===
 
*[[c/2/statuses/repost_timeline/all|statuses/repost_timeline/all]] 返回一条微博的全部转发微博列表
 
*[[c/2/statuses/repost_timeline/all|statuses/repost_timeline/all]] 返回一条微博的全部转发微博列表
 +
*[[c/2/statuses/mentions/other|statuses/mentions/other]] 获取@某人的微博
 +
 +
*[[c/2/statuses/user_timeline_batch|statuses/user_timeline_batch]] 批量获取用户个人微博列表
 +
*[[c/2/place/user_timeline/other|place/user_timeline/other]] 获取某个用户的位置动态
 +
 
*[[c/2/comments/show/all|comments/show/all]] 返回一条微博的全部评论列表
 
*[[c/2/comments/show/all|comments/show/all]] 返回一条微博的全部评论列表
 +
*[[c/2/comments/by_me/other|comments/by_me/other]] 获取某个用户发出的评论列表
 +
*[[c/2/comments/to_me/other|comments/to_me/other]] 获取某个用户收到的评论列表
 +
*[[c/2/comments/timeline/other|comments/timeline/other]] 获取某个用户发出和收到的评论列表
 +
*[[c/2/comments/mentions/other|comments/mentions/other]] 获取@某人的评论
 +
 +
=== 微博用户数据 ===
 +
*[[c/2/users/show_batch/other|users/show_batch/other]] 批量获取用户信息
 +
*[[c/2/tags/tags_batch/other|tags/tags_batch/other]] 批量获取用户标签
 +
*[[c/2/users/counts_batch/other|users/counts_batch/other]] 批量获取用户的粉丝数、关注数、微博数
  
 
=== 微博关系数据 ===
 
=== 微博关系数据 ===
第68行: 第82行:
 
*[[c/2/proxy/wrw/dict/class|proxy/wrw/dict/class]] 获取资源方帐号分类列表
 
*[[c/2/proxy/wrw/dict/class|proxy/wrw/dict/class]] 获取资源方帐号分类列表
 
-->
 
-->
 +
 +
== 通用API ==
 +
===微博内容读取接口===
 +
*[[c/2/statuses/public_timeline/biz|statuses/public_timeline/biz]] 获取最新的公共微博
 +
*[[c/2/statuses/friends_timeline/biz|statuses/friends_timeline/biz]] 获取当前登录用户及其所关注用户的微博
 +
*[[c/2/statuses/user_timeline/biz|statuses/user_timeline/biz]] 获取当前登录用户发布的微博
 +
*[[c/2/statuses/repost_timeline/biz|statuses/repost_timeline/biz]] 获取当前登录用户发布的一条原创微博的转发微博
 +
*[[c/2/statuses/mentions/biz|statuses/mentions/biz]] 获取@当前登录用户的微博
 +
 +
===微博信息读取接口===
 +
*[[c/2/statuses/show_batch/biz|statuses/show_batch/biz]] 根据微博ID批量获取微博信息
 +
*[[c/2/statuses/count/biz|statuses/count/biz]] 批量获取指定微博的转发数评论数喜欢数
 +
 +
===微博写入接口===
 +
*[[c/2/statuses/repost/biz|statuses/repost/biz]] 转发一条微博信息
 +
*[[c/2/statuses/destroy/biz|statuses/destroy/biz]] 删除微博信息
 +
*[[c/2/statuses/update/biz|statuses/update/biz]] 发布一条微博信息
 +
*[[c/2/statuses/upload/biz|statuses/upload/biz]] 上传图片并发布一条微博
 +
*[[c/2/statuses/upload_url_text/biz|statuses/upload_url_text/biz]] 发布一条微博同时指定上传的图片或图片url
 +
*[[c/2/statuses/filter/create/biz|statuses/filter/create/biz]] 屏蔽某条微博
 +
*[[c/2/statuses/mentions/shield/biz|statuses/mentions/shield/biz]] 屏蔽某个@我的微博及后续由其转发引起的@提及
 +
 +
===评论内容读取接口===
 +
*[[c/2/comments/show/biz|comments/show/biz]] 获取当前登录用户发布的微博下的评论列表
 +
*[[c/2/comments/by_me/biz|comments/by_me/biz]] 获取当前登录用户发出的评论列表
 +
*[[c/2/comments/to_me/biz|comments/to_me/biz]] 获取当前登录用户收到的评论列表
 +
*[[c/2/comments/timeline/biz|comments/timeline/biz]] 获取当前登录用户发出及收到的评论列表
 +
*[[c/2/comments/mentions/biz|comments/mentions/biz]] 获取@当前登录用户的评论
 +
 +
===评论信息读取接口===
 +
*[[c/2/comments/show_batch/biz|comments/show_batch/biz]] 批量获取评论内容
 +
 +
===评论写入接口===
 +
*[[c/2/comments/create/biz|comments/create/biz]] 评论一条微博
 +
*[[c/2/comments/destroy/biz|comments/destroy/biz]] 删除一条评论
 +
*[[c/2/comments/reply/biz|comments/reply/biz]] 回复一条评论
 +
 +
===用户读取接口===
 +
*[[c/2/users/show/biz|users/show/biz]] 获取当前登录用户信息
 +
*[[c/2/tags/biz|tags/biz]] 获取当前登录用户的标签
 +
 +
===关系读取接口===
 +
*[[c/2/friendships/friends/biz|friendships/friends/biz]] 获取当前登录用户的关注列表
 +
*[[c/2/friendships/followers/biz|friendships/followers/biz]] 获取当前登录用户的粉丝列表
 +
 +
===关系写入接口===
 +
*[[c/2/friendships/create/biz|friendships/create/biz]] 关注某用户
 +
*[[c/2/friendships/destroy/biz|friendships/destroy/biz]] 取消关注某用户
 +
*[[c/2/friendships/followers/destroy/biz|friendships/followers/destroy/biz]] 移除当前登录用户的粉丝
 +
*[[c/2/friendships/remark/update/biz|friendships/remark/update/biz]] 更新关注人备注
 +
 +
===搜索用户接口===
 +
*[[c/2/search/suggestions/users/biz|search/suggestions/users/biz]] 搜用户搜索建议
 +
 +
===位置服务-动态读取接口===
 +
*[[c/2/place/user_timeline/biz|place/user_timeline/biz]] 获取当前登录用户的位置动态
 +
*[[c/2/place/poi_timeline/biz|place/poi_timeline/biz]] 获取某个位置地点的动态
 +
*[[c/2/place/nearby_timeline/biz|place/nearby_timeline/biz]] 获取某个位置周边的动态
 +
*[[c/2/place/users/checkins/biz|place/users/checkins/biz]] 获取当前登录用户签到过的地点列表
 +
 +
===位置服务-地点读取接口===
 +
*[[c/2/place/pois/show/biz|place/pois/show/biz]] 获取地点详情
 +
*[[c/2/place/pois/users/biz|place/pois/users/biz]] 获取在某个地点签到的人的列表
 +
 +
===位置服务-附近读取接口===
 +
*[[c/2/place/nearby/pois/biz|place/nearby/pois/biz]] 获取附近地点
 +
*[[c/2/place/nearby/users/biz|place/nearby/users/biz]] 获取附近发位置微博的人
 +
*[[c/2/place/nearby_users/list/biz|place/nearby_users/list/biz]] 获取附近的人
 +
 +
===粉服接口-发送客服消息===
 +
*[[c/2/messages/reply/biz|messages/reply/biz]] 向用户回复私信消息接口
 +
 
<br/><br/>
 
<br/><br/>
 
{{languages|API文档_V2}}
 
{{languages|API文档_V2}}

2015年6月18日 (四) 19:05的版本


目录

商业数据API

官方分析数据

搜索最近数据

检索历史全量数据

微博内容数据

微博用户数据

微博关系数据


通用API

微博内容读取接口

微博信息读取接口

微博写入接口

评论内容读取接口

评论信息读取接口

评论写入接口

用户读取接口

关系读取接口

关系写入接口

搜索用户接口

位置服务-动态读取接口

位置服务-地点读取接口

位置服务-附近读取接口

粉服接口-发送客服消息



Language: 中文  | English