第33行: | 第33行: | ||
|生成带参数的二维码接口 {{Icon_new2}} | |生成带参数的二维码接口 {{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="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}} | ||
+ | |- | ||
+ | |rowspan="3" style="text-align:center;"|其他接口 | ||
+ | |[[2/account/rate_limit_status|account/rate_limit_status]] | ||
+ | |获取当前授权用户API访问频率限制 | ||
+ | |- | ||
+ | |[[2/account/get_uid|account/get_uid]] | ||
+ | |授权之后获取用户的UID | ||
+ | |- | ||
+ | |[[2/account/profile/email|account/profile/email]] | ||
+ | |授权之后获取用户的联系邮箱 {{Icon_adv}} {{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="2" style="text-align:center;"|读取接口 | ||
+ | |[[2/users/show|users/show]] | ||
+ | |授权之后获取用户信息 | ||
+ | |- | ||
+ | |[[2/users/domain_show|users/domain_show]] | ||
+ | |授权之后通过个性域名获取用户信息 | ||
|} | |} | ||
第41行: | 第88行: | ||
|rowspan="8" style="text-align:center;"|读取接口 | |rowspan="8" style="text-align:center;"|读取接口 | ||
|[[2/statuses/home_timeline|statuses/home_timeline]] | |[[2/statuses/home_timeline|statuses/home_timeline]] | ||
− | | | + | |获取当前授权用户及其所关注用户的最新微博 |
|- | |- | ||
|[[2/statuses/user_timeline|statuses/user_timeline]] | |[[2/statuses/user_timeline|statuses/user_timeline]] | ||
− | | | + | |获取授权用户发布的微博 |
|- | |- | ||
|[[2/statuses/repost_timeline|statuses/repost_timeline]] | |[[2/statuses/repost_timeline|statuses/repost_timeline]] | ||
第50行: | 第97行: | ||
|- | |- | ||
|[[2/statuses/mentions|statuses/mentions]] | |[[2/statuses/mentions|statuses/mentions]] | ||
− | |获取@ | + | |获取@当前授权用户的最新微博 |
|- | |- | ||
|[[2/statuses/show|statuses/show]] | |[[2/statuses/show|statuses/show]] | ||
第87行: | 第134行: | ||
|回复一条我收到的评论 | |回复一条我收到的评论 | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table" | {|width="100%" border="0" cellspacing="0" cellpadding="0" class="wiki_table" |
2020年12月28日 (一) 12:54的最后版本
微博API
粉丝服务(新手接入指南) | ||
---|---|---|
读取接口 | 接收消息 | 接收用户私信、关注、取消关注、@等消息接口 |
写入接口 | 发送消息 | 向用户回复私信消息接口 |
生成带参数的二维码 | 生成带参数的二维码接口 |
OAuth2(开发指南) | ||
---|---|---|
请求授权 | oauth2/authorize | 请求用户授权Token |
获取授权 | oauth2/access_token | 获取授权过的Access Token |
授权查询 | oauth2/get_token_info | 查询用户access_token的授权相关信息 |
替换授权 | oauth2/get_oauth2_token | OAuth1.0的Access Token更换至OAuth2.0的Access Token |
授权回收 | oauth2/revokeoauth2 | 授权回收接口,帮助开发者主动取消用户的授权 |
其他接口 | account/rate_limit_status | 获取当前授权用户API访问频率限制 |
account/get_uid | 授权之后获取用户的UID | |
account/profile/email | 授权之后获取用户的联系邮箱 |
用户 | ||
---|---|---|
读取接口 | users/show | 授权之后获取用户信息 |
users/domain_show | 授权之后通过个性域名获取用户信息 |
微博 | ||
---|---|---|
读取接口 | statuses/home_timeline | 获取当前授权用户及其所关注用户的最新微博 |
statuses/user_timeline | 获取授权用户发布的微博 | |
statuses/repost_timeline | 返回一条原创微博的最新转发微博 | |
statuses/mentions | 获取@当前授权用户的最新微博 | |
statuses/show | 根据ID获取单条微博信息 | |
statuses/count | 批量获取指定微博的转发数评论数 | |
statuses/go | 根据ID跳转到单条微博页 | |
emotions | 获取官方表情 | |
写入接口 | statuses/share | 第三方分享链接到微博 |
评论 | ||
---|---|---|
读取接口 | comments/show | 获取某条微博的评论列表 |
comments/mentions | 获取@到我的评论 | |
写入接口 | comments/create | 评论一条微博 |
comments/reply | 回复一条我收到的评论 |
公共服务 | ||
---|---|---|
读取接口 | common/code_to_location | 通过地址编码获取地址名称 |
common/get_city | 获取城市列表 | |
common/get_province | 获取省份列表 | |
common/get_country | 获取国家列表 | |
common/get_timezone | 获取时区配置表 |
文档更新时间: 2020-12-28