1

I am using YouTube Data API.I would like to know about the validity of both browser key and server keys ? I need these keys to run my application without any user authentication. So I need to confirm which key works well for me .

I am running scripts to get results from YouTube search API and my scripts are uploaded and executed using cron jobs. I could not find a good article or question on this.

I would greatly appreciate if you can help.

4

1 回答 1

1

如果您只对数据 API 的只读端点(例如搜索、列表等)感兴趣,那么您将能够使用浏览器密钥做您想做的事情。您的脚本只会将其作为 URL 参数包含(即...&key=YOUR_KEY_HERE)。如果您想做的不仅仅是只读任务(例如上传视频、删除信息等),则必须使用 oAuth。

于 2013-12-07T06:21:59.980 回答