gpt4 book ai didi

api - 访问被拒绝 : no access to call this method

转载 作者:行者123 更新时间:2023-12-04 15:48:08 25 4
gpt4 key购买 nike

我正在尝试实现 VK API,所以感谢 OAuth 代码,我得到了一个 token ,只需添加此范围 offline,audio现在做这个请求:

https://api.vk.com/method/account.getInfo?access_token=XXXXX&v=5.62

并以此作为返回:

  {
"error": {
"error_code": 15,
"error_msg": "Access denied: no access to call this method",
"request_params": [
{
"key": "oauth",
"value": "1"
},
{
"key": "method",
"value": "account.getInfo"
},
{
"key": "v",
"value": "5.62"
}
]
}
}

为什么,这也有空间?

最佳答案

您的应用程序不是独立类型的,或者您不是通过 Implicit Flow 收到访问 token 的方案。

注:您应该设置参数 redirect_uri=https://oauth.vk.com/blank.html无限制地获取访问 token 。在其他方面,访问 token 将仅限于调用仅适用于独立应用程序的方法。

关于api - 访问被拒绝 : no access to call this method,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41746491/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com