App · 24 actions
Post to LinkedIn as yourself or your Company Page: text, links, images, videos, documents and polls. Manage your Page's comments and reactions, read its statistics, and start workflows from new posts and comments.
Actions
| Action | What it does |
|---|---|
| Add comment | Comment on a post, or reply to a comment, as yourself or as a Company Page. |
| Add reaction | React to a post or comment (Like, Celebrate, Support, Love, Insightful or Funny) as yourself or as a Company Page. |
| Create document post | Publish a PDF, PowerPoint or Word file that people page through in the feed. |
| Create image post | Publish a post with one image, uploaded for you. |
| Create link post | Share a web page with a preview card. |
| Create multi-image post | Publish a post with 2 to 20 images, uploaded for you. |
| Create poll | Publish a poll with 2 to 4 answers. |
| Create text post | Publish a text post as yourself or as a Company Page. |
| Create video post | Publish a post with a video, uploaded for you. |
| Delete comment | Delete a comment you or your Page wrote, or one on your Page's post. |
| Delete post | Delete a post you or your Page published. |
| Edit post text | Change the text of a post you or your Page published. |
| Get Company Page | Get a Company Page you manage: its name, link, website and follower count. |
| Get follower statistics | Get a Company Page's follower count and how many followed it each day, week or month. |
| Get my profile | Get the LinkedIn member this connection posts as, and whether it can manage Company Pages. |
| Get Page post engagement | Get how a Company Page's posts did: impressions, clicks, likes, comments and reposts, for its lifetime or by day or month over the last 12 months. |
| Get Page views | Get how many times a Company Page was viewed, for its lifetime or by day or month. |
| Get post | Get a Company Page's post with its reaction and comment counts. |
| Get post statistics | Get a Company Page post's impressions, clicks, likes, comments, reposts and engagement rate. |
| List comments | List the comments on a Company Page's post. |
| List my Company Pages | List the Company Pages you have an approved role on. |
| List Page posts | List a Company Page's posts, newest first. |
| Remove reaction | Take back your own or your Page's reaction to a post or comment. |
| Repost | Repost a post, with your own text above it if you like. |
Add comment
Comment on a post, or reply to a comment, as yourself or as a Company Page.
Inputs
- Post
posttextRequired - The post's link (from **Copy link to post** on LinkedIn) or the post_id an earlier LinkedIn step returned.
- Comment
texttextRequired - What the comment says, up to 1,250 characters.
- Reply to
reply_totext - To reply to a comment, its link or comment_urn. Leave empty to comment on the post.
- Comment as
comment_astext - Yourself, or a Company Page you manage. Leave empty for yourself.
Outputs
commentobject- A comment
Example output
{
"comment": {
"author": "urn:li:organization:5637409",
"author_is_page": true,
"comment_id": "6643206422739898368",
"comment_urn": "urn:li:comment:(urn:li:activity:6641861161010679808,6643206422739898368)",
"created_at": "2020-03-10T18:10:35Z",
"likes": 2,
"post_id": "urn:li:activity:6641861161010679808",
"reply_to": null,
"text": "A sample text comment"
}
}Add reaction
React to a post or comment (Like, Celebrate, Support, Love, Insightful or Funny) as yourself or as a Company Page.
Inputs
- Post or comment
targettextRequired - A post's or comment's link, or the post_id or comment_urn an earlier LinkedIn step returned.
- Reaction
reactiontext - Defaults to Like.One of:
LIKE,PRAISE(Celebrate),APPRECIATION(Support),EMPATHY(Love),INTEREST(Insightful),ENTERTAINMENT(Funny). Default:LIKE. - React as
react_astext - Yourself, or a Company Page you manage. Leave empty for yourself.
Outputs
actortext- Who reacted: your member URN or the Page's
reactiontext- The reaction, such as LIKE
reaction_idtext- The reaction's id
targettext- What was reacted to
Example output
{
"actor": "urn:li:person:A8xe03Qt10",
"reaction": "LIKE",
"reaction_id": "urn:li:reaction:(urn:li:person:A8xe03Qt10,urn:li:activity:6666)",
"target": "urn:li:activity:6666"
}Create document post
Publish a PDF, PowerPoint or Word file that people page through in the feed.
Inputs
- Document
documenttextRequired - A PDF, PPT, PPTX, DOC or DOCX up to 100 MB and 300 pages: upload one, pick one from an earlier step, or give a public link.
- Document title
titletext - Shown above the document. Defaults to its file name.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
document_idtext- The document LinkedIn holds
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
titletext- The document's title
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"document_id": "urn:li:document:D5510AQFx87994pYx0Q",
"post_id": "urn:li:share:6844785523593134080",
"text": "test strings!",
"title": "Example.pdf",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create image post
Publish a post with one image, uploaded for you.
Inputs
- Image
imagetextRequired - A JPG, PNG or GIF up to 20 MB: upload one, pick one from an earlier step, or give a public link.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Image description
alt_texttext - Describes the image for people using screen readers.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
image_idtext- The image LinkedIn holds
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"image_id": "urn:li:image:C4E10AQFoyyAjHPMQuQ",
"post_id": "urn:li:share:6844785523593134080",
"text": "Sample text Post",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create link post
Share a web page with a preview card. The title, description and image come from the page unless you give your own.
Inputs
- Link
urltextRequired - The web page to share.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Card title
titletext - Leave empty to use the page's own title.
- Card description
descriptiontext - Leave empty to use the page's own description.
- Card image
thumbnailtext - A JPG, PNG or GIF: upload one or give a link. Leave empty to use the page's own image.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
linktext- The page shared
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
thumbnail_idtext- The card image LinkedIn holds
titletext- The card's title
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"link": "https://lnkd.in/eabXpqi",
"post_id": "urn:li:share:6844785523593134080",
"text": "test article post",
"thumbnail_id": "urn:li:image:C49klciosC89",
"title": "prod test title two",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create multi-image post
Publish a post with 2 to 20 images, uploaded for you.
Inputs
- Images
imageslistRequired - 2 to 20 JPG, PNG or GIF images: upload them, pick them from earlier steps, or give public links.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
image_idslist- The images LinkedIn holds
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"image_ids": [
"urn:li:image:C4D22AQFttWMAaIqHaa",
"urn:li:image:C4D22AQG7uz0yPJh588"
],
"post_id": "urn:li:share:6844785523593134080",
"text": "Sample text Post",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create poll
Publish a poll with 2 to 4 answers.
Inputs
- Question
questiontextRequired - Up to 140 characters.
- Answers
optionslistRequired - 2 to 4 answers, each up to 30 characters.
- Open for
durationtext - How long people can vote. Defaults to a week.One of:
ONE_DAY(1 day),THREE_DAYS(3 days),SEVEN_DAYS(1 week),FOURTEEN_DAYS(2 weeks). - Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
durationtext- How long it is open: ONE_DAY to FOURTEEN_DAYS
optionslist- The answers
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
questiontext- The question
texttext- The post's text
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"duration": "THREE_DAYS",
"options": [
"Red",
"Blue",
"Yellow",
"green"
],
"post_id": "urn:li:share:6844785523593134080",
"question": "What is your favorite color?",
"text": "test poll",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create text post
Publish a text post as yourself or as a Company Page.
Inputs
- Text
texttextRequired - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"post_id": "urn:li:share:6844785523593134080",
"text": "Sample text Post",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}Create video post
Publish a post with a video, uploaded for you. The step waits while LinkedIn processes it, up to three minutes.
Inputs
- Video
videotextRequired - An MP4 from 3 seconds to 30 minutes long and up to 200 MB: upload one, pick one from an earlier step, or give a public link.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Video title
titletext - A title shown with the video.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
texttext- The post's text
urltext- A link to the post on LinkedIn
video_idtext- The video LinkedIn holds
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"post_id": "urn:li:share:6844785523593134080",
"text": "Sample text Post",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"video_id": "urn:li:video:C5F10AQGKQg_6y2a4sQ",
"visibility": "PUBLIC"
}Delete comment
Delete a comment you or your Page wrote, or one on your Page's post.
Inputs
- Comment
commenttextRequired - The comment's link (from **Copy link to comment**) or the comment_urn an earlier LinkedIn step returned.
Outputs
comment_urntext- The comment deleted
deletedtrue/false- Always true once deleted
Example output
{
"comment_urn": "urn:li:comment:(urn:li:activity:6641861161010679808,6643206422739898368)",
"deleted": true
}Delete post
Delete a post you or your Page published.
Inputs
- Post
posttextRequired - The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
Outputs
deletedtrue/false- Always true once deleted
post_idtext- The post deleted
Example output
{
"deleted": true,
"post_id": "urn:li:share:6844785523593134080"
}Edit post text
Change the text of a post you or your Page published.
Inputs
- Post
posttextRequired - The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
- New text
texttextRequired - The post's new text, up to 3,000 characters.
Outputs
post_idtext- The post edited
texttext- Its new text
updatedtrue/false- Always true once edited
urltext- A link to the post
Example output
{
"post_id": "urn:li:share:6844785523593134080",
"text": "Update to the post",
"updated": true,
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/"
}Get Company Page
Get a Company Page you manage: its name, link, website and follower count.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
Outputs
follower_countnumber- How many follow the Page
pageobject- A LinkedIn Company Page
Example output
{
"follower_count": 219145,
"page": {
"description": "We test things.",
"industries": [
"urn:li:industry:4"
],
"name": "Devtestco",
"organization_type": "PRIVATELY_HELD",
"page_id": "2414183",
"page_urn": "urn:li:organization:2414183",
"staff_count_range": "SIZE_11_TO_50",
"url": "https://www.linkedin.com/company/devtestco/",
"vanity_name": "devtestco",
"website": "https://www.example.com"
}
}Get follower statistics
Get a Company Page's follower count and how many followed it each day, week or month. LinkedIn reports up to two days ago, for the last 12 months.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
- From
start_datedate - The first day to include. Defaults to 30 days back.
- To
end_datedate - The last day to include. Defaults to two days ago.
- Per
granularitytext - Split the dates into days, weeks or months.One of:
DAY,WEEK,MONTH.
Outputs
follower_countnumber- How many follow the Page now
new_followersnumber- New followers over the range
new_organic_followersnumber- New followers who weren't from ads
new_paid_followersnumber- New followers from ads
page_urntext- The Page's URN
periodslist- New followers each day, week or month
Example output
{
"follower_count": 219145,
"new_followers": 235,
"new_organic_followers": 223,
"new_paid_followers": 12,
"page_urn": "urn:li:organization:2414183",
"periods": [
{
"end": "2018-09-09T00:00:00Z",
"organic": 223,
"paid": 12,
"start": "2018-09-08T00:00:00Z",
"total": 235
}
]
}Get my profile
Get the LinkedIn member this connection posts as, and whether it can manage Company Pages.
Inputs
None.
Outputs
can_manage_pagestrue/false- Whether the app has the Community Management API
profileobject- The LinkedIn member the connection acts as
Example output
{
"can_manage_pages": false,
"profile": {
"email": "doe@email.com",
"first_name": "John",
"headline": null,
"last_name": "Doe",
"name": "John Doe",
"person_id": "782bbtaQ",
"person_urn": "urn:li:person:782bbtaQ",
"picture_url": "https://media.licdn-ei.com/dms/image/C5F03AQHqK8v7tB1HCQ/profile-displayphoto-shrink_100_100/0/",
"profile_url": null
}
}Get Page post engagement
Get how a Company Page's posts did: impressions, clicks, likes, comments and reposts, for its lifetime or by day or month over the last 12 months.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
- From
start_datedate - The first day to include. Leave both dates empty for the Page's lifetime totals.
- To
end_datedate - The last day to include. Defaults to today.
- Per
granularitytext - Split the dates into days or months. Defaults to days.One of:
DAY,MONTH.
Outputs
lifetimetrue/false- True when these are lifetime totals, not dates
page_urntext- The Page's URN
periodslist- The numbers for each day or month; empty for lifetime
totalsobject- The numbers over the whole range
Example output
{
"lifetime": false,
"page_urn": "urn:li:organization:2414183",
"periods": [
{
"clicks": 78,
"comments": 24,
"end": "2016-01-02T00:00:00Z",
"engagement_rate": 0.022886324947985624,
"impressions": 5287,
"likes": 14,
"shares": 5,
"start": "2016-01-01T00:00:00Z",
"unique_impressions": 203
}
],
"totals": {
"clicks": 78,
"comments": 24,
"engagement_rate": 0.022886324947985624,
"impressions": 5287,
"likes": 14,
"shares": 5,
"unique_impressions": 203
}
}Get Page views
Get how many times a Company Page was viewed, for its lifetime or by day or month.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
- From
start_datedate - The first day to include. Leave both dates empty for the Page's lifetime totals.
- To
end_datedate - The last day to include. Defaults to today.
- Per
granularitytext - Split the dates into days or months. Defaults to days.One of:
DAY,MONTH.
Outputs
lifetimetrue/false- True when these are lifetime totals, not dates
page_urntext- The Page's URN
periodslist- Views each day or month; empty for lifetime
totalsobject- Views over the whole range
Example output
{
"lifetime": false,
"page_urn": "urn:li:organization:2414183",
"periods": [
{
"end": "2016-01-02T00:00:00Z",
"page_views": 1696,
"start": "2016-01-01T00:00:00Z",
"unique_page_views": 25
}
],
"totals": {
"page_views": 1696,
"unique_page_views": 25
}
}Get post
Get a Company Page's post with its reaction and comment counts.
Inputs
- Post
posttextRequired - The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
Outputs
engagementobject- Its reactions and comments; empty when LinkedIn doesn't share them
postobject- The post
Example output
{
"engagement": {
"comments": 4,
"comments_open": true,
"reactions": {
"EMPATHY": 1,
"LIKE": 3
},
"top_level_comments": 3,
"total_reactions": 4
},
"post": {
"author": "urn:li:organization:2414183",
"content": {},
"content_type": "text",
"created_at": "2021-09-18T00:13:58Z",
"last_modified_at": "2021-09-18T00:13:59Z",
"post_id": "urn:li:share:6844785523593134080",
"published_at": "2021-09-18T00:13:58Z",
"repost_of": null,
"reposts_allowed": true,
"state": "PUBLISHED",
"text": "Hello from Devtestco #coding",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}
}Get post statistics
Get a Company Page post's impressions, clicks, likes, comments, reposts and engagement rate.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
- Post
posttextRequired - The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
Outputs
clicksnumber- Clicks on it
commentsnumber- Comments
engagement_ratenumber- Clicks, likes, comments and reposts divided by impressions
impressionsnumber- Times it was shown
likesnumber- Likes
page_urntext- The Page's URN
post_idtext- The post
sharesnumber- Reposts
unique_impressionsnumber- Members it was shown to
Example output
{
"clicks": 78,
"comments": 24,
"engagement_rate": 0.022886324947985624,
"impressions": 5287,
"likes": 14,
"page_urn": "urn:li:organization:2414183",
"post_id": "urn:li:share:6844785523593134080",
"shares": 5,
"unique_impressions": 3120
}List comments
List the comments on a Company Page's post.
Inputs
- Post
posttextRequired - The post's link (from **Copy link to post** on LinkedIn) or the post_id an earlier LinkedIn step returned.
- How many
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
startnumber - How many to skip, for the next page: the next_start of the last one.At least 0.
Outputs
commentslist- The comments
countnumber- How many comments on this page of results
next_startnumber- Pass as Skip for the next page; empty on the last
post_idtext- The post
Example output
{
"comments": [
{
"author": "urn:li:organization:5637409",
"author_is_page": true,
"comment_id": "6643206422739898368",
"comment_urn": "urn:li:comment:(urn:li:activity:6641861161010679808,6643206422739898368)",
"created_at": "2020-03-10T18:10:35Z",
"likes": 2,
"post_id": "urn:li:activity:6641861161010679808",
"reply_to": null,
"text": "A sample text comment"
}
],
"count": 1,
"next_start": null,
"post_id": "urn:li:share:6844785523593134080"
}List my Company Pages
List the Company Pages you have an approved role on.
Inputs
None.
Outputs
countnumber- How many Pages
pageslist- Your Company Pages
Example output
{
"count": 1,
"pages": [
{
"description": "We test things.",
"industries": [
"urn:li:industry:4"
],
"name": "Devtestco",
"organization_type": "PRIVATELY_HELD",
"page_id": "2414183",
"page_urn": "urn:li:organization:2414183",
"roles": [
"Super admin"
],
"staff_count_range": "SIZE_11_TO_50",
"url": "https://www.linkedin.com/company/devtestco/",
"vanity_name": "devtestco",
"website": "https://www.example.com"
}
]
}List Page posts
List a Company Page's posts, newest first.
Inputs
- Company Page
pagetextRequired - A Page you manage. Pick one, or give its link or id.
- How many
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Skip
startnumber - How many to skip, for the next page: the next_start of the last one.At least 0.
- Order
sorttext - Defaults to newest first.One of:
CREATED(Newest first),LAST_MODIFIED(Recently changed first).
Outputs
countnumber- How many posts on this page of results
next_startnumber- Pass as Skip for the next page; empty on the last
page_urntext- The Page's URN
postslist- The posts
Example output
{
"count": 1,
"next_start": null,
"page_urn": "urn:li:organization:2414183",
"posts": [
{
"author": "urn:li:organization:2414183",
"content": {},
"content_type": "text",
"created_at": "2021-09-18T00:13:58Z",
"last_modified_at": "2021-09-18T00:13:59Z",
"post_id": "urn:li:share:6844785523593134080",
"published_at": "2021-09-18T00:13:58Z",
"repost_of": null,
"reposts_allowed": true,
"state": "PUBLISHED",
"text": "Hello from Devtestco #coding",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}
]
}Remove reaction
Take back your own or your Page's reaction to a post or comment.
Inputs
- Post or comment
targettextRequired - A post's or comment's link, or the post_id or comment_urn an earlier LinkedIn step returned.
- React as
react_astext - Yourself, or a Company Page you manage. Leave empty for yourself.
Outputs
actortext- Whose reaction it was
removedtrue/false- False when there was no reaction to remove
targettext- What the reaction was on
Example output
{
"actor": "urn:li:person:A8xe03Qt10",
"removed": true,
"target": "urn:li:activity:6666"
}Repost
Repost a post, with your own text above it if you like.
Inputs
- Post
posttextRequired - The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
- Text
texttext - What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as
post_astext - Yourself, or a Company Page you manage. Leave empty to post as yourself. Posting as a Page needs the Community Management API.
- Who can see it
visibilitytext - Defaults to anyone.One of:
PUBLIC(Anyone),CONNECTIONS(My connections only (when posting as yourself)),LOGGED_IN(Signed-in LinkedIn members).
Outputs
authortext- Who posted it: your member URN or the Page's
post_idtext- The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
repost_oftext- The post reposted
texttext- The post's text
urltext- A link to the post on LinkedIn
visibilitytext- Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN
Example output
{
"author": "urn:li:organization:2414183",
"post_id": "urn:li:share:6844785523593134080",
"repost_of": "urn:li:share:6957408550713184256",
"text": "Sample reshare post",
"url": "https://www.linkedin.com/feed/update/urn:li:share:6844785523593134080/",
"visibility": "PUBLIC"
}