Skip to content

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:

ProductPurpose
Share on LinkedInPost content to member profiles
Sign In with LinkedIn using OpenID ConnectOAuth 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

ScopePurpose
openidOIDC authentication
profileBasic profile info
emailEmail address
w_member_socialPost on behalf of member

Company Page Posting (MDP)

ScopePurpose
w_organization_socialPost to company pages
r_organization_socialRead company page posts
rw_organization_adminManage organization

Callback URL

https://api.tendsocial.com/api/social/accounts/callback/linkedin_page

Set in: LinkedIn Developer Portal → Your App → Auth → Authorized redirect URLs

Environment Variables

bash
LINKEDIN_CLIENT_ID=your_client_id
LINKEDIN_CLIENT_SECRET=your_client_secret

Platform Limitations

FeatureStatus
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

TypeRequired ProductScope
Personal profileShare on LinkedInw_member_social
Company pageMarketing Developer Platformw_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:

  1. Create app in LinkedIn Developer Portal
  2. Request access to Marketing Developer Platform
  3. Complete questionnaire about your use case
  4. Wait for manual review (2-4 weeks)
  5. Once approved, add MDP scopes to your OAuth flow

TendSocial Documentation