LinkedIn 新 API - 无法获得 r_network 权限

标签 linkedin

我继承了一个用旧的 LinkedIn API 编写的程序,我正在尝试将它迁移到新的 API。当我尝试获取 r_basicprofile 时许可,我的 oauth token 有效。但是,当我尝试时 r_networkrw_nus ,我得到了回应

invalid scope -- your application has not been authorized for r_network.



然而,当我去www.linkedin.com/developer/apps/xxxx/auth ,盒子为 r_networkrw_nus被检查。

即,请求

https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_basicprofile&state=yyyy&redirect_uri=http%3A%2F%2Fkalatublog.com%2Fwp-content%2Fmu-plugins%2Fimb-en%2Fhelpers%2Fsocial-connect%2Fapi%2Ffinalize.php%3Fapi%3Dlinkedin%26ch%zzzzz



有效,但要求

https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_network&state=yyyy&redirect_uri=http%3A%2F%2Fkalatublog.com%2Fwp-content%2Fmu-plugins%2Fimb-en%2Fhelpers%2Fsocial-connect%2Fapi%2Ffinalize.php%3Fapi%3Dlinkedin%26ch%zzzzz



给出了那个错误。我究竟做错了什么?

最佳答案

As of May 15 ,

After the grace period expires, several REST API endpoints will no longer be available for general use. The following endpoints are the only ones that will remain available for use:


Profile API — /v1/people/~ `
Share API — /v1/people/~/shares 
Companies API — /v1/companies/{id}

If your application is currently using any other API services (e.g. Connections, Groups, People Search, Invitation, Job Search, etc.) you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to continue to leverage any of the endpoints that are not listed above.



看起来linkedin 不再想与他们的API 共享任何东西。创建一个新的应用程序表明唯一可能的选项是 r_basicprofile , r_emailaddress , rw_company_admin , 和 w_share :

enter image description here

TLDR:他们已经锁定了 API,并将使用限制在极其有限的访问点集上。

关于LinkedIn 新 API - 无法获得 r_network 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30241229/

相关文章:

react-native - 与 react-native 分享在linkedIn 上的帖子

android - LinkedIn Android SDK 设置

android - 如何正确实现linkedIn登录?

linkedin 基础连接被关闭

javascript - 无法使用javascript api从linkedin注销

grails - 使用 scribe 1.3.1.jar 将 linkedin 集成到我的应用程序中

Linkedin Share Plugin 总是显示 0 个分享

oauth-2.0 - LinkedIn OAuth2.0 使 session 无效/强制重新授权

linkedin - 如何在向 Linkedin 上的配置文件添加证书时自动填充字段

ruby-on-rails - Oauth 2.0 错误 领英