Documentation menu

Networks

LinkedIn

View .md

Publishing to LinkedIn with Dravo: the Posts API, the w_member_social scope, images, and API versioning.

What you can post

Dravo publishes member posts (as a person) to LinkedIn: text and a single image. Video uses a separate chunked upload flow and is not in the MVP adapter.

Scope

ScopeWhy
openid, profileIdentify the member via OpenID Connect.
w_member_socialCreate posts on behalf of the member.

w_member_social is current and not deprecated. Your app needs the matching product (for example Share on LinkedIn) enabled.

How it works

Dravo uses the modern Posts API at rest/posts (which replaced the older ugcPosts API). For an image, Dravo initializes an upload with the Images API, uploads the bytes, and references the returned image URN in the post. The created post id comes back in the response header.

API versioning

LinkedIn versions its API by month and sunsets each version about twelve months after release. A sunset version returns HTTP 426. Dravo pins a supported version and bumps it over time, so if LinkedIn publishing ever starts failing with 426, the fix is to move to a current version.