Linked.in#

Follow these steps to configure Linked.in for social poster:

OAuth Configuration#

Step 1: Create a new app#

  1. Go to the Linked.in Developer Apps (opens new window).
  2. Click “Create App” to create a new Linked.in 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 → Linked.in.
  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 Linked.in app is correctly linked and verified to the company page in your app Settings tab.
  2. The Linked.in 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 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 w_organization_social and 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.

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

Previous ← Twitter Next Available Variables →