LinkedIn Setup
Configure LinkedIn integration through the LinkedIn Developer Portal.
Prerequisites
- LinkedIn account
- Company Page (for page posting)
- Approved developer app
API Products
LinkedIn requires specific API products to be added to your app:
| Product | Purpose |
|---|---|
| Share on LinkedIn | Post content to member profiles |
| Sign In with LinkedIn using OpenID Connect | OAuth authentication |
| Marketing Developer Platform (MDP) | Post to Company Pages, analytics |
IMPORTANT
Marketing Developer Platform requires manual approval from LinkedIn and may take 2-4 weeks.
Required Scopes
Member Posting
| Scope | Purpose |
|---|---|
openid | OIDC authentication |
profile | Basic profile info |
email | Email address |
w_member_social | Post on behalf of member |
Company Page Posting (MDP)
| Scope | Purpose |
|---|---|
w_organization_social | Post to company pages |
r_organization_social | Read company page posts |
rw_organization_admin | Manage organization |
Callback URL
https://api.tendsocial.com/api/social/accounts/callback/linkedin_pageSet in: LinkedIn Developer Portal → Your App → Auth → Authorized redirect URLs
Environment Variables
bash
LINKEDIN_CLIENT_ID=your_client_id
LINKEDIN_CLIENT_SECRET=your_client_secretPlatform Limitations
| Feature | Status |
|---|---|
| Text posts | ✅ Supported (3,000 chars) |
| Images | ✅ Up to 9 images |
| Videos | ✅ Supported |
| Documents/PDFs | ✅ Supported |
| Polls | ❌ Not available via API |
| Articles | ❌ Not available via API |
| Comments | ✅ Read/write supported |
| Analytics | ✅ Via MDP |
Member vs Company Page Posting
| Type | Required Product | Scope |
|---|---|---|
| Personal profile | Share on LinkedIn | w_member_social |
| Company page | Marketing Developer Platform | w_organization_social |
Token Expiration
- Access tokens: 60 days
- Refresh tokens: 365 days
TendSocial automatically refreshes tokens before expiration.
MDP Application Process
To get Marketing Developer Platform access:
- Create app in LinkedIn Developer Portal
- Request access to Marketing Developer Platform
- Complete questionnaire about your use case
- Wait for manual review (2-4 weeks)
- Once approved, add MDP scopes to your OAuth flow