腾讯对外接口API文档

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

打开以下网址,输入您的腾讯绑定帐号以及密码:
/index.php/API%E6%96%87%E6%A1%A3
类似这样的:
API文档
返回
出自腾讯微博开放平台
跳转到:导航, 搜索
OAuth授权时间线微博相关帐户相关关系链相关私信相关搜索相关热度,趋势数据更新相关数据收藏
话题相关标签相关名单微群相关邀请相关LBS相关其他文档更新历史API问题QA错误码说明表情列表下载
OAuth授权
request_token 获取request_token
authorize 用户授权request_token
access_token 交换access_token
access_token 交换access_token
点击查看示例API请求示例说明
auth/get_oauth2_token 通过oAuth1.0的token获取oAuth2.0的token
时间线
statuses/home_timeline 主页时间线
statuses/public_timeline 广播大厅时间线
statuses/user_timeline 其他用户发表时间线
statuses/mentions_timeline 用户提及时间线
statuses/ht_timeline 话题时间线(建议使用新话题时间线接口ht_timeline_ext) statuses/broadcast_timeline 我发表时间线
statuses/special_timeline 特别收听的人发表时间线
statuses/area_timeline 地区发表时间线
statuses/home_timeline_ids 主页时间线索引
statuses/user_timeline_ids 其他用户发表时间线索引
statuses/broadcast_timeline_ids 我发表时间线索引
statuses/mentions_timeline_ids 用户提及时间线索引
statuses/users_timeline 多用户发表时间线
statuses/users_timeline_ids 多用户发表时间线索引
statuses/ht_timeline_ext 话题时间线
statuses/home_timeline_vip 拉取vip用户发表微博消息接口
statuses/sub_re_list 获取二传手列表(获取转播或评论的再次转播或评论列表)微博相关
t/show 获取一条微博数据
t/add 发表一条微博
t/del 删除一条微博
t/re_add 转播一条微博
t/reply 回复一条微博(即对话)
t/add_pic 发表一条带图片的微博
t/re_count 转播数或点评数
t/re_list 获取单条微博的转发或点评列表
t/comment 点评一条微博
t/add_music 发表音乐微博
t/add_video 发表视频微博
t/getvideoinfo 获取视频信息
t/list 根据微博id批量获取微博内容(与索引合起来用)
t/sub_re_count 获取转播的再次转播数(二次转发次数)
t/add_emotion 发表心情帖子
t/add_pic_url 用图片URL发表带图片的微博
t/add_multi 多类型发表(可同时发表带音频、视频、图片的微博)
帐户相关
user/info 获取自己的详细资料
user/update 更新用户信息
user/update_head 更新用户头像信息
user/update_edu 更新用户教育信息
user/other_info 获取其他人资料
user/infos 获取一批人的简单资料
user/verify 验证账户是否合法(是否注册微博)
user/emotion 获取心情微博
关系链相关
friends/fanslist 我的听众列表
friends/fanslist_name 我的听众列表,只输出name
friends/idollist 我收听的人列表
friends/idollist_name 我收听的人列表,只输出name
friends/blacklist 黑名单列表
friends/speciallist 特别收听列表
friends/add 收听某个用户
friends/del 取消收听某个用户
friends/addspecial 特别收听某个用户
friends/delspecial 取消特别收听某个用户
friends/addblacklist 添加某个用户到黑名单
friends/delblacklist 从黑名单中删除某个用户
friends/check 检测是否我的听众或收听的人friends/user_fanslist 其他帐户听众列表
friends/user_idollist 其他帐户收听的人列表
friends/user_speciallist 其他帐户特别收听的人列表friends/fanslist_s 我的听众列表,简单信息(200个)friends/idollist_s 我的收听列表,简单信息(200个)friends/mutual_list 互听关系链列表
friends/match_nick_tips 好友账号及昵称输入提示
私信相关
private/add 发私信
private/del 删除一条私信
private/recv 收件箱
private/send 发件箱
搜索相关
search/user 搜索用户
search/t 搜索微博
search/userbytag 通过标签搜索用户
热度,趋势
trends/ht 话题热榜
trends/t 转播热榜
trends/famouslist 推荐名人列表
数据更新相关
info/update 查看数据更新条数
数据收藏
fav/addt 收藏一条微博
fav/delt 取消收藏一条微博
fav/list_t 收藏的微博列表
fav/addht 订阅话题
fav/delht 取消订阅话题
fav/list_ht 获取已订阅话题列表
话题相关
ht/ids 根据话题名称查询话题id
ht/info 根据话题id获取话题相关信息
标签相关
tag/add 添加标签
tag/del 删除标签
名单
list/list_followers 名单订阅成员列表信息
list/myfollowlist 我订阅的名单信息
list/create 创建名单
list/delete 删除名单
list/edit 修改名单
list/get_list 查询我创建的名单
list/check_user_in_list 筛选指定的用户是否在名单中
list/list_attr 名单属性信息
list/follow 订阅多个名单
list/undo_follow 取消订阅多个名单
list/add_to_list 收录指定用户到名单
list/del_from_list 从名单中删除指定用户
list/get_other_in_list 查询指定用户所在的所有list
list/listusers 查询名单成员列表
list/list_info 查询指定微博用户的名单相关信息微群相关
weiqun/add 在微群中发表微博消息
weiqun/apply4group 申请加入微群
weiqun/bindqqgroup 微群与Q群互绑定
weiqun/del 删除微群中的微博
weiqun/home_timeline 微群主页时间线
weiqun/multihome_timeline 多微群主页时间线
weiqun/quitgroup 退出微群
weiqun/setbulletin 设置微群公告
weiqun/setmemattr 设置微群成员属性
邀请相关
invite/get_invite_list 获取好友列表
invite/event_invite 发送好友邀请
LBS相关LBS相关接口使用说明文档
lbs/update_pos 更新地理位置
lbs/del_pos 删除最后更新位置
lbs/get_poi 获取POI(Point of Interest)
lbs/get_around_new 获取身边最新的微博
lbs/get_around_people 获取身边的人
其他
other/kownperson 我可能认识的人
other/shorturl 短url变长url
other/videokey 获取视频上传的key
other/get_emotions 获取表情接口
other/gettopreadd 一键转播热门排行
other/follower_trans_conv 拉取我收听的用户的转播消息接口other/quality_trans_conv 拉取精华转播消息接口
other/vip_trans_conv 拉取vip用户的转播消息接口
other/url_converge 短url聚合
other/gettopiczbrank 同话题热门转播排行
文档更新历史
API问题QA
错误码说明
表情列表下载
取自“/index.php/API%E6%96%87%E6%A1%A3”帐户相关/取消收听某个用户返回
出自腾讯微博开放平台
跳转到:导航, 搜索
目录
[隐藏]
∙ 1 请求说明
∙ 2 参数说明
∙ 3 使用说明
∙ 4 返回结果
∙ 5 字段说明
请求说明
url /api/friends/del
格式xml,json
http请求方式post
是否需要鉴权true
请求数限制true
关于请求数限制,参见接口访问权限说明
参数说明
请求参数:oauth或openid&openkey标准参数,并带上以下参数
format 返回数据的格式(json或xml)
name 他人的帐户名(可选)
他人的openid(可选)
fopenid
name和fopenid至少选一个,若同时存在则以name值为主
使用说明
/api/friends/del
post包体格式为:
format=json&name=xxxx&fopenid=xxxx
返回结果
{
ret:0,
msg:"ok",
errcode:0
}
字段说明
ret: 返回值,0-成功,非0-失败
msg:错误信息
errcode:返回错误码
errcode:发表失败错误码参看文档最后说明,点击此处查看
取自“/index.php/%E5%B8%90%E6%88%B7%E7%9B%B8%E5%85%B3/%E5 %8F%96%E6%B6%88%E6%94%B6%E5%90%AC%E6%9F%90%E4%B8%AA%E7%94%A8%E6%88%B 7”。

相关文档
最新文档