LinkedIn API unable to view _any_ company profile

后端 未结 3 771
挽巷
挽巷 2020-12-03 10:51

I\'m trying to figure out how to access any company profile on LinkedIn. For example, the REST endpoint API for LinkedIn itself is:

https://api.link         


        
3条回答
  •  一整个雨季
    2020-12-03 11:15

    For accessing the company details from LinkedIn you must make a authenticated request(You must be the administrator of the company). For authenticated calls follow this link. https://developer.linkedin.com/docs/oauth2#!

    Anyway, you must have the permission rw_company_admin to access the company details. For that, you must check Default Application Permissions in your App settings and also important to note that when you request for an Authorization Code you must specify the scope.

    Use this method to get an authorization code for a company

    https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=123456789&redirect_uri=https%3A%2F%2Fwww.example.com%2Fauth%2Flinkedin&state=987654321&scope=rw_company_admin

提交回复
热议问题