You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know if LinkedIn provides an API to get post data? Couldn’t see one in a quick search, but that’s probably what is needed. Otherwise just using their <iframe> code directly may be the best people can do.
That does mean I’m personally very unlikely to implement this as I don’t have a LinkedIn account (which would also complicate testing I guess as tests in this repo would need a token). But maybe someone is interested in working on it.
Repository owner locked and limited conversation to collaborators on Jan 3, 2026
Activity
delucis commentedon Feb 20, 2025
Do you know if LinkedIn provides an API to get post data? Couldn’t see one in a quick search, but that’s probably what is needed. Otherwise just using their
<iframe>code directly may be the best people can do.awhitford commentedon Feb 20, 2025
I think this might be the API: https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api?view=li-lms-2025-01&tabs=http#get-posts-by-urn
delucis commentedon Feb 20, 2025
Looks like it might be. It does require authorization though, for example this request for data for the embed you shared above:
Returns:
{"status":401,"serviceErrorCode":65604,"code":"EMPTY_ACCESS_TOKEN","message":"Empty oauth2 access token"}That does mean I’m personally very unlikely to implement this as I don’t have a LinkedIn account (which would also complicate testing I guess as tests in this repo would need a token). But maybe someone is interested in working on it.