我使用了YouTube API,但最近在创建播放列表时出现了新错误:
{
"error": {
"errors": [
{
"domain": "youtube.playlist",
"reason": "exceededRateLimit",
"message": "The user has created too many playlists recently. Please try the request again later."
}
],
"code": 403,
"message": "The user has created too many playlists recently. Please try the request again later."
}
}
Run Code Online (Sandbox Code Playgroud)
我通过在10分钟内创建10个播放列表来获得此消息.经过一些搜索后,似乎在10个播放列表创建后显示此消息; 与10秒或10分钟或更长时间内的时间表无关.
我们能否了解有关此新错误的更多详情?也许有时间表信息?重试后头?什么?
谢谢.
Google问题跟踪器=> https://issuetracker.google.com/issues/79222309
php youtube youtube-api google-api-php-client youtube-data-api
我正在尝试实现VK API,因此感谢OAuth代码,我得到了一个令牌,只需添加此作用域,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"
}
]
}
}
Run Code Online (Sandbox Code Playgroud)
为什么也有这个范围呢?
我尝试执行一个蝙蝠,在这个文件中我尝试加入这个变量:
$_SERVER['SERVER_NAME']
但它并不存在这个指数.事实上,当我尝试时print_r($_SERVER),没有 SERVER_NAME索引.有原因吗?是因为我在蝙蝠中发射这个功能吗?我有另一个获得此变量的解决方案吗?
谢谢 !