1
每次YouTube API取得我尝试使用YouTube API,我得到这个错误:用asp.net(401)未经授权错误
The remote server returned an error: (401) Unauthorized.
这个代码:
public static YouTubeRequest AuthRequest()
{
YouTubeRequestSettings Setting =
new YouTubeRequestSettings("app", "key", "email", "pass");
Setting.Timeout = 99999999;
YouTubeRequest _request = new YouTubeRequest(Setting);
return _request;
}
我在这里取得的关键:http://code.google.com/apis/youtube/dashboard
和电子邮件和密码,我检查了几次,他们工作正常。
我也注册了我的应用程序在这里:https://code.google.com/apis/console
,但每次我尝试使用请求我得到的错误,这是什么问题? 谢谢
是的,我也有我的应用程序 – Wahtever 2013-02-12 21:45:10
的名称替换它查看是否增加我做到答案帮助 – HBennet 2013-02-12 21:50:29
您是否能够参考我第一次添加API时链接到的API页面? – HBennet 2013-02-12 21:51:24