如何获得只读 Youtube API 访问权限 [英] How to get Read-only Youtube API access
问题描述
对于 YouTube API,文档的唯一范围是 http://gdata.youtube.com,其中要求用户授予完全读/写访问权限.是否有一个范围要求/授予只读权限或仅读取 Youtube Insight 数据的权限?
a> 现在支持只读范围:https://www.googleapis.com/auth/youtube.readonly
不过,使用该范围获得的令牌不适用于 API 的旧版 v1/v2.您只能将它们用于 v3 调用.
For YouTube APIs, the only scope that is document is http://gdata.youtube.com, which asks the user to grand full read/write access. Is there a scope that asks/grants read-only permissions OR just read permissions to Youtube Insight data?
v3 of the YouTube Data API now has support for a read-only scope: https://www.googleapis.com/auth/youtube.readonly
Tokens obtained with that scope won't work with the older v1/v2 of the API, though. You can only use them with v3 calls.
这篇关于如何获得只读 Youtube API 访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!