Linkedin API Official
Use this guide to configure the connection safely, then verify the account and permissions before you publish or automate.
Use this guide
- Prepare the provider credentials and callback values required for this connection.
- Enter them in the related settings area, save, and connect one safe test account.
- Verify the returned name, status, and permissions before using the connection.
Detailed steps
๐ LinkedIn API Integration Guide for Stackposts
(Two-App Setup: Profile & Page)
This guide explains how to create and configure two separate LinkedIn Apps to connect Stackposts with both personal profiles and company pages for publishing and management.
๐น Why Two Apps Are Required
LinkedIn separates access permissions for Profiles and Pages.
Each type requires a different set of scopes and product permissions:
| Type | Use Case | Requires |
|---|---|---|
| Profile App | For connecting and posting to personal LinkedIn accounts | email, profile, openid, w_member_social |
| Page App | For managing and posting to LinkedIn Company Pages | rw_organization_admin |
Because rw_organization_admin is only available for apps verified with a LinkedIn Company Page, you must create two separate apps.
๐งฉ App #1 — LinkedIn Profile (Personal)
Used for connecting individual LinkedIn profiles.
Step 1: Create the App
-
Go to LinkedIn Developer Portal.
-
Log in → click Create App.
-
Fill in:
-
App Name: Stackposts LinkedIn Profile
-
LinkedIn Page: Leave blank (not required)
-
Privacy Policy URL:
https://yourdomain.com/privacy-policy -
Logo: square image (min 100×100 px)
-
-
Tick the agreement and click Create app.
Step 2: Enable Products
Under the Products tab, click Request Access for:
-
โ Sign In with LinkedIn (OpenID Connect)
-
โ Share on LinkedIn
Step 3: Configure Redirect URL
Go to Auth → OAuth 2.0 Settings and add:
(Replace yourdomain.com with your actual domain.)
Then click Save changes.
Step 4: Add App Credentials to Stackposts
In Stackposts Admin → API Integrations → LinkedIn:
-
Paste your Client ID and Client Secret under LinkedIn Profile.
-
Enable it and click Save changes.
Step 5: Required Scopes (Profile)
Use the following OAuth 2.0 scopes:
Explanation
-
email→ Access user’s email address -
profile→ Read basic profile information -
openid→ Authenticate the user identity -
w_member_social→ Create and publish posts on behalf of the user
๐งฉ App #2 — LinkedIn Page (Company)
Used for connecting and managing LinkedIn Company Pages.
Step 1: Create the App
-
Visit LinkedIn Developer Portal.
-
Click Create App again.
-
Fill in:
-
App Name: Stackposts LinkedIn Page
-
LinkedIn Page: select your company page (required)
-
Privacy Policy URL:
https://yourdomain.com/privacy-policy -
Logo: square image (min 100×100 px)
-
-
Click Create app.
Step 2: Verify Your Company Page
-
Open your new app → Settings tab.
-
Under LinkedIn Page, click Verify.
-
LinkedIn will generate a verification URL.
-
Send this link to your page admin for approval.
-
Once approved, your app is officially linked to your page.
Step 3: Enable Products
In the Products tab, click Request Access for:
-
โ Community Management API
(Optional: you may also request “Marketing Developer Platform” if you plan to use analytics features.)
Step 4: Configure Redirect URL
Go to Auth → OAuth 2.0 Settings and add:
Then click Save changes.
Step 5: Add App Credentials to Stackposts
In Stackposts Admin → API Integrations → LinkedIn:
-
Paste your Client ID and Client Secret under LinkedIn Page.
-
Enable it and click Save changes.
Step 6: Required Scopes (Page)
Use the following OAuth 2.0 scope:
Explanation
-
rw_organization_admin→ Allows Stackposts to read, write, and manage LinkedIn Company Pages that the user administrates.-
Fetch managed pages
-
Publish and schedule posts
-
Manage basic page data
-
๐น Step 7: Connect LinkedIn in Stackposts
-
Go to Channels in Stackposts.
-
Click + Add Channels → select LinkedIn.
-
Choose + Profile or + Page depending on your target.
-
Log in to LinkedIn and approve the permissions.
-
Once authorized, your LinkedIn Profile or Page will appear under Channels.
๐น Step 8: Start Publishing
-
Go to Publishing → Compose or Bulk Posts.
-
Choose your LinkedIn Profile or Page as the posting channel.
-
Create, schedule, and publish posts directly from Stackposts.
โ๏ธ Troubleshooting
| Issue | Possible Cause | Solution |
|---|---|---|
| “Something went wrong” page | Redirect URL mismatch | Ensure your Redirect URL in LinkedIn Developer matches Stackposts exactly |
| Page not showing | Page not verified or missing Community Management API | Verify your company page and reauthorize |
| Insufficient permission | Missing scopes | Double-check your app’s configured scopes |
| 403 error when posting | Using Profile App for a Page request | Use the correct LinkedIn Page app |
โ
You’re all set!
You now have:
-
One LinkedIn App for Profiles
-
One LinkedIn App for Pages
Both connected to Stackposts, ready for seamless publishing and page management.
Quick check
- The save or publish action completes without an error.
- The visible status, preview, or connected account matches the change.
- If the result differs, capture the exact message and review the troubleshooting guidance before retrying.