LinkedIn
Overview
Connect LinkedIn personal profiles, scopes, capabilities, and known limits.
Onepostly maps the LinkedIn Posts API (member / Share on LinkedIn) into the same /v1/* surface as other platforms. This section covers LinkedIn-only behavior.
Company Pages are not supported in this release — only the authenticated member’s personal profile.
In this section
| Page | Topics |
|---|---|
| Posts | Publish text, image, multi-image, video; schedule; remote delete |
Cross-platform API flow: Media, Webhooks.
Connect
- Dashboard → Connections → connect LinkedIn
- Approve scopes in the LinkedIn consent screen
- Resolve
connectionIdwith your API key:
curl https://api.onepostly.com/v1/connections \
-H "x-api-key: op_YOUR_KEY"Use the matching row’s id (where platform is "linkedin") as connectionId in publish requests.
OAuth scopes
| Scope | Used for |
|---|---|
openid / profile | Person URN + display name (Sign In with LinkedIn using OpenID Connect) |
w_member_social | Publish posts, upload images/videos, delete (Share on LinkedIn) |
OAuth 2.0 authorization code. Access tokens last about 60 days; reconnect before expiry if LinkedIn does not issue a refresh token for your app.
Auth errors
| Code | Meaning |
|---|---|
TOKEN_INVALID / 401 | Expired or invalid token → reconnect |
PERMISSION_DENIED / 403 | Missing scope → reconnect with Share on LinkedIn + OpenID Connect |
Capabilities
| Action | Supported | Notes |
|---|---|---|
| Create post | Yes | POST /v1/posts |
| Text-only | Yes | |
| Image | Yes | |
| Multi-image | Yes | 2–20 images |
| Video | Yes | |
| Stories / thread / quote | No | |
| Schedule | Yes | scheduledFor + timezone |
| Remote delete | Yes | DELETE …/destinations/:id |
| Insights | No | |
| Comments | No | |
| Like / unlike | No | |
| Bookmark / retweet | No |
Known limitations
- Personal profile only — no organization / Company Page posting yet
- Comments, reactions, and insights are not supported (requires LinkedIn Community Management API access)
- Video must be MP4-compatible, roughly 75 KB–500 MB, 3s–30m