获取LinkedIn访问令牌的问题

时间:2011-03-09 10:02:53

标签: c# oauth linkedin

我在获取linkedin的访问令牌时收到此错误,远程服务器返回错误:

  

(401)未经授权。消费者,requst   token,verifier包含有效值

 TokenResponse accessTokenResponse = OAuthAuthorizationService.GetAccessToken(
                    consumer,
                    "https://api.linkedin.com/uas/oauth/accessToken",
                    "http://api.linkedin.com",
                    requestToken,
                    verifier,
                    HttpMethodType.Post);

2 个答案:

答案 0 :(得分:2)

登录后也会立即显示401 Unauthorized错误,这表示网站收到了您的用户名和密码但发现其无效,请检查所有参数。

答案 1 :(得分:1)

Bilal,你最好在LinkedIn Developer网络上搜索类似帖子,我发现了这个:

http://developer.linkedin.com/thread/1230

相关问题