Follow these steps to configure Linked.in for social poster:
In order to post to company pages, there are a few requirements:
To gain permissions for posting to company pages, you must sign up for the Marketing Developer Platform (opens new window).
Go to the Products tab in your Linked.in app and click Add more products. Check the Marketing Developer Platform checkbox and follow the prompts to fill out your application. Please note that the approval process can take up to 20-25 days. Please be aware that LinkedIn will not approve every application submitted.
Once approved, verify you have the correct permissions via the Auth tab. Ensure you have
r_organization_social permissions. You should now be able to post to Linked.in company pages.
If you try to post to a company page without these permissions, you'll likely receive a permission error.
If you want to be able to post to both company and personal pages, you'll need to include the following scopes in your request to authenticate with the Linked.in app. Be sure to also follow the above steps to ensure your app has the correct permissions.
If you haven't already done so, create a
social-poster.php file in your
/config directory. See the config docs for more information.
Use the following for Linked.in:
'linkedin' => [ 'oauth' => [ 'options' => [ 'clientId' => 'xxxxxxxxxxxx', 'clientSecret' => 'xxxxxxxxxxxx', ], 'scope' => [ 'w_organization_social', 'r_organization_social', ], ] ],
Including these scopes tells Linked.in to authorise Social Poster to use these scopes. This is done automatically if you want to post to just the company page, but not if you want to use both. This should allow you to authorise against both possibilities.