Scope

跳转到: 导航, 搜索
(以“ =scope说明=”为内容创建页面)
 
第1行: 第1行:
 
 
=scope说明=
 
=scope说明=
 +
 +
scope是OAuth2.0授权authorize接口的一个参数,通过scope,平台将开放更多的微博核心功能给开发者,同时也提升了用户体验,加强了用户隐私保护,用户在新授权页中有权利选择赋予应用的功能。
 +
 +
=注意事项=
 +
 +
1:开发者需要先在应用控制台的接口管理中申请到相关的接口,才能使用scope功能。
 +
 +
2:开发者向用户请求scope权限,就会出现高级授权页面。
 +
 +
=scope权限接口=
 +
 +
<table class="wiki_table" border="0" cellspacing="0" cellpadding="0">
 +
<tr>
 +
<th class="wiki_table_thfirst">scope参数</th>
 +
<th>描述</th>
 +
</tr>
 +
 +
<tr>
 +
<td class="wiki_table_tdfirst">friendships_groups_read</td>
 +
<td>好友分组读取接口组</td>
 +
</tr>
 +
 +
<tr>
 +
<td class="wiki_table_tdfirst">friendships_groups_write</td>
 +
<td>好友分组写入接口组</td>
 +
</tr>
 +
 +
<tr>
 +
<td class="wiki_table_tdfirst">statuses_to_me_read</td>
 +
<td>定向微博读取接口组</td>
 +
</tr>
 +
 +
<tr>
 +
<td class="wiki_table_tdfirst">follow_app_official_microblog </td>
 +
<td>关注应用官方微博</td>
 +
</tr>
 +
 +
</table>

2012年10月25日 (四) 14:50的版本

scope说明

scope是OAuth2.0授权authorize接口的一个参数,通过scope,平台将开放更多的微博核心功能给开发者,同时也提升了用户体验,加强了用户隐私保护,用户在新授权页中有权利选择赋予应用的功能。

注意事项

1:开发者需要先在应用控制台的接口管理中申请到相关的接口,才能使用scope功能。

2:开发者向用户请求scope权限,就会出现高级授权页面。

scope权限接口

scope参数 描述
friendships_groups_read 好友分组读取接口组
friendships_groups_write 好友分组写入接口组
statuses_to_me_read 定向微博读取接口组
follow_app_official_microblog 关注应用官方微博