首页 文章

Twitter API oAuth(错误代码214:错误的身份验证数据)

提问于
浏览
1

我接近使用Microsoft Dynamics CRM应用程序,但是,我得到错误代码214:错误的身份验证数据 . :(

请求网址为:https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=aspas10&since_id=342379690448805888

身份验证标头: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;

我出错的任何想法以及为什么我会收到此错误?

1 回答

相关问题