【发布时间】:2012-01-11 10:20:03
【问题描述】:
阅读official documentation我发现了这段代码:
YouTubeRequestSettings settings =
new YouTubeRequestSettings("example app", clientID, developerKey);
YouTubeRequest request = new YouTubeRequest(settings);
但上面写着If you do not specify authentication information when creating the YouTubeRequestSettings object, then you will only be able to use the YouTubeRequest object to perform operations that do not require authentication.
我不介意身份验证,但如果我尝试:
YouTubeRequestSettings settings =
new YouTubeRequestSettings("example app");
仍在等待 developerKey,所以它不起作用。
如何在没有身份验证的情况下创建该对象?有什么方法可以做到吗?
【问题讨论】:
标签: c# .net youtube youtube-api