emorikawa / linkedin-oauth2

Ruby wrapper for the LinkedIn OAuth2 API
Other
70 stars 86 forks source link

Companies API inaccessible #31

Open zapnap opened 9 years ago

zapnap commented 9 years ago

Looks like LinkedIn has recently changed the company API availability:

https://developer.linkedin.com/support/developer-program-transition

"All calls to Companies API endpoints will require the authenticated user to be flagged as an administrator of the LinkedIn Company Page that is the target of the API call. [...] Your API call will return a 403 Forbidden error if you do not have the appropriate admin permission to interact with the target company."

This seems insane but it is what it is, and several README examples won't work for ordinary users now. Leaving this here as it may be worth noting in the README. Also several of the existing API links in the README are broken. Just FYI.

leesmith commented 9 years ago

I think that's just saying that the authenticated user has to have admin rights to the company page you're trying to post to. There have been a couple of pull requests dealing with the company API that have been merged in but for some reason, @emorikawa is a little slow in cutting a new gem.