"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.
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 pullrequests dealing with the company API that have been merged in but for some reason, @emorikawa is a little slow in cutting a new gem.
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.