【问题标题】:LinkedIn oAuth1 always return 'Member xxx does not have permission to get company xxx' after May 2015LinkedIn oAuth1 在 2015 年 5 月之后总是返回“会员 xxx 无权获取公司 xxx”
【发布时间】:2015-11-15 05:21:48
【问题描述】:

我们有一个获取 'num-followers' 的门户并且运行良好,但是在linkedin 升级后,我们遇到以下 403 消息:

<error>
  <status>403</status>
  <timestamp>1440149000543</timestamp>
  <request-id>ULRPYICAEE</request-id>
  <error-code>0</error-code>
  <message>Member xxxx does not have permission to get company xxxx</message>
</error>

Linkedin 研究后说: "公司 API 的新要求 对公司 API 端点的所有调用都需要将经过身份验证的用户标记为作为 API 调用目标的 LinkedIn 公司页面的管理员。创建页面时,您将成为页面的管理员。如果该页面已存在,您必须联系现有管理员以授予其他 LinkedIn 成员管理员访问权限。 如果您没有适当的管理员权限与目标公司交互,您的 API 调用将返回 403 Forbidden 错误。"

所以我们将会员升级为公司页面的管理员,然后我们通过https://developer.linkedin.com/rest-console进行测试,使用Oauth2

  1. 检查成员是否是公司管理员,
  2. 按细分获得公司的关注者,成功

但是我们传送门的原代码还是遇到同样的403错误,难道linkedin放弃了oauth1.0?我错过了一些配置设置吗?

如果有人可以提供帮助,请提前致谢。

【问题讨论】:

    标签: asp.net linkedin restsharp linkedin-api


    【解决方案1】:

    LinkedIn 2015 年 2 月 12 日更新影响 LinkedIn 应用程序在 2015 年 5 月 12 日至 5 月 19 日之间。也许,您的应用程序今天受到影响。

    请检查以下答案。

    https://stackoverflow.com/a/30208638/741356

    【讨论】:

      猜你喜欢
      • 2018-08-20
      • 1970-01-01
      • 2015-08-28
      • 2016-12-15
      • 2019-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多