Follow these steps to configure for social poster:

OAuth Configuration#

Step 1: Create a new app#

  1. Go to the Developer Apps (opens new window).
  2. Click “Create App” to create a new application.
  3. Fill all required fields and create the app.
  4. Once created, click on the "Auth" tab, and add the Redirect URI found in Craft Control Panel → Settings → Social Poster → Providers →
  5. Go to the "Products" tab, and ensure you have "Sign In with LinkedIn" and "Share on LinkedIn" enabled under the "Added Products" heading.

Company Pages#

In order to post to company pages, there are a few requirements:

  1. Ensure your app is correctly linked and verified to the company page in your app Settings tab.
  2. The account used to authorise with Social Poster must be an admin of the company.
  3. Have Marketing Developer Platform (opens new window) permissions (see below).

Marketing Developer Platform#

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 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 w_organization_social and r_organization_social permissions. You should now be able to post to company pages.

If you try to post to a company page without these permissions, you'll likely receive a permission error.

Posting to both Company and Personal pages#

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 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

'linkedin' => [
    'oauth' => [
        'options' => [
            'clientId' => 'xxxxxxxxxxxx',
            'clientSecret' => 'xxxxxxxxxxxx',
        'scope' => [

Including these scopes tells 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.

Previous ← Twitter Next Available Variables →