Linkedin OAuth 1.0 不再发布到公司墙上

Linkedin OAuth 1.0 no longer posting to company wall

我们有一个 [legacy] PHP 应用程序,它使用与 Linkedin 的旧集成(也使用旧版 Oauth 1.0a) post 我们的用户个人和公司墙。

最近(7 月底)我们在 post访问用户的公司墙壁时开始收到 500 个错误。如果用户选择 post 将请求 post 发送到他们的个人墙,那很好,只有公司墙会拒绝 postings。

用户是墙的管理员(我们提供了一个墙列表,用户是我们之前获取的墙的管理员,并且每次用户想要时都会更新 post)。即使用户 post 同时访问他们的个人墙和公司墙,个人墙成功而公司墙失败。

我使用 Oauth 2.0 和 posting 相同的数据进行了快速测试,posted 很好。 Anydoby 知道可能是什么问题,或者 Linkedin 是否对其 API 进行了任何更改?根据他们的文档,即使不鼓励使用 Oauth 1.0 并且 API 文档不再可用,该服务也不会被弃用。

https://developer.linkedin.com/ 的主页上写着:

Effective May 18th, 2018, our Company Pages API will no longer work with OAuth 1.0. We recommend all apps switchover OAuth 2.0 authentication before then.

所以我建议您切换到 OAuth 2.0 以保持您的功能