firefox - Instagram oAuth:“无效的范围字段”(仅使用 Firefox 浏览器)
问题描述
我无法使用Firefox获取 Instagram 的访问令牌。有一个错误"Invalid scope field(s): public_content,follower_list"
。但它适用于其他浏览器,如 Google Chrome 或 Safari。
我从我的网络客户端https://www.instagram.com/oauth/authorize?client_id=CLIEND&redirect_uri=https://MY_REDIRECT&response_type=code&scope=public_content+follower_list抛出这个 URL 。
看起来有一个编码问题。来自 Instagram 文档:If you’d like to request multiple scopes at once, simply separate the scopes by a space
.
所以,我尝试使用public_content follower_list
, public_content+follower_list
,public_content%2Bfollower_list
但它在 Firefox 中不起作用 =\ 有
什么想法吗?感谢提前!
解决方案
这些范围已被弃用。请改用“基本”。
推荐阅读
- python - 如何使用python中的交叉表函数从数据框中绘制饼图
- python - 如何使用 Xarray 处理 OCO-2/Tropomi NETCDF4 文件的时间变量?
- python - sci.py 最小化 - 约束函数参数
- regex - Twitch 剪辑正则表达式
- java - 如果我们在 executorService 中传递线程在 Java 多线程中执行调用会发生什么
- adaptive-cards - 如何通过 Action.Http 获取 TextBlock 文本?
- c# - 如何知道目录是否可写?
- android - 尝试通过 Android 设备通过 BLE + BT 连接到 iOS
- firebird - 无法在执行块中删除先前修改的新表
- android - findViewById() 方法在活动中如何工作?