In order to autopost your articles to LinkedIn, LinkedIn requires you to set up an application with them. This documentation provides instructions on how to properly set this up.
Step 1 - Create App
Navigate to the LinkedIn developer site at https://developer.linkedin.com and click on the My Apps link located on the menu bar in the header.
Once you have logged in, you will be redirected to My Applications page. Click on the Create Application button to add a new app.
Step 2 - Setting Up Application
In the new application form, fill in the details of the application which are briefly explained below:
Company Name - Select an existing company or choose a New Company. If you select a new company, you will be asked to enter a company name.
Name - Enter a name for your application.
Description - Enter a description for your application.
Application Logo - Add and upload an image for your application's logo.
Application Use - Select the most appropriate category from the dropdown.
Website URL - Enter the URL for your website’s homepage.
Business Email - Enter your email address as your business email.
Business Phone - Enter your phone number as your business phone.
Once the details are filled, click on the Submit button to complete the app creation process.
Step 3 - Authentication Keys
On the next page, you will find the Client ID and Client Secret keys. You will need to copy and paste both of these keys into the LinkedIn Autoposting section in EasyArticles.
Step 4 - Furnishing Application Details
Additional permission is required by the app. Under Default Application Permissions section, you will see several additional permissions are being displayed. You will need to add w_share permission to the app to allow EasyArticles to autopost to your LinkedIn profile.
If you're autoposting articles to a LinkedIn business page, you have to enable the rw_company_admin permission as well.
If you're using an older version of the LinkedIn app, you will find an extra permission rw_nus is checked. You have to UNCHECK this permission as LinkedIn has deprecated its functionality.
At OAuth 2.0 section, you will find the Authorized Redirect URLs URL fields. You will need to provide LinkedIn your site's url as illustrated below.
Once you have set the above settings, click on the Update button to store the changes.
Step 5 - Autoposting Integration
Once you done all that, the app is now complete. You can now add the Client ID and Client Secret keys which you have obtained from step 3 into EasyArticles LinkedIn Autopost API Key and Secret Key settings respectively. LinkedIn autopost settings can be found by navigating to Components > EasyArticles > Autoposting > LinkedIn.
Once you are done adding them, click on the Save button to store the keys.
Step 6 - Autoposting Authentication
After you have added the Client ID and Client Secret keys as outlined in Step 5, it's time to authenticate them. Click on the Sign in with LinkedIn button. A dialog popup will appear for the authentication process. Click on the Allow access button to authenticate it and you're set.