获取 LinkedIn 访问令牌时出现问题
我在获取 linkedin 的访问令牌时遇到此错误,远程服务器返回错误:
(401) 未经授权。消费者,请求 令牌,验证者包含有效值
TokenResponse accessTokenResponse = OAuthAuthorizationService.GetAccessToken(
consumer,
"https://api.linkedin.com/uas/oauth/accessToken",
"http://api.linkedin.com",
requestToken,
verifier,
HttpMethodType.Post);
I am getting this error during getting Access Token of linkedin, The remote server returned an error:
(401) Unauthorized. consumer,requst
token,verifier contains valid values
TokenResponse accessTokenResponse = OAuthAuthorizationService.GetAccessToken(
consumer,
"https://api.linkedin.com/uas/oauth/accessToken",
"http://api.linkedin.com",
requestToken,
verifier,
HttpMethodType.Post);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
401未经授权的错误也可能在登录后立即出现,这表明网站收到了您的用户名和密码,但发现其中的某些内容无效,因此请检查所有参数。
The 401 Unauthorized error can also appear immediately after login which is an indication that the web site received your user name and password but found something about them to be invalid, so check all parameters.
Bilal,你最好在 LinkedIn Developer 网络上搜索类似的帖子,我找到了这个:
http://developer. linkedin.com/thread/1230
Bilal, you better search on the LinkedIn Developer network for similar posts, I found this one:
http://developer.linkedin.com/thread/1230