【发布时间】:2013-06-28 17:10:48
【问题描述】:
我接近让它与 Microsoft Dynamics CRM 应用程序一起使用,但是,我得到错误代码 214:错误的身份验证数据。:(
身份验证标头:OAuth oauth_nonce=”****”, oauth_signature_method=”HMAC-SHA1”, oauth_timestamp=”1372370208”, oauth_consumer_key=”*****”, oauth_token=”**********”, oauth_signature=”********”, oauth_version=”1.0″
我的代码包括:
request.Headers.Add(“Authorization”, authHeader);
request.Method = “GET”;
request.ContentType = “application/x-www-form-urlencoded”;
var response = (HttpWebResponse)request.GetResponse();
return response;
任何想法我哪里出错了,为什么我会收到这个错误?
【问题讨论】:
-
您得到它是因为身份验证数据错误。
标签: c# api twitter oauth dynamics-crm-2011