# LinkedIn

> 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.

App · 24 actions. Web page: https://docs.lodol.com/docs/integrations/linkedin

## Actions

### Add comment

Comment on a post, or reply to a comment, as yourself or as a Company Page.

**Inputs**

- Post (`post`, text, required): The post's link (from **Copy link to post** on LinkedIn) or the post_id an earlier LinkedIn step returned.
- Comment (`text`, text, required): What the comment says, up to 1,250 characters.
- Reply to (`reply_to`, text): To reply to a comment, its link or comment_urn. Leave empty to comment on the post.
- Comment as (`comment_as`, text): Yourself, or a Company Page you manage. Leave empty for yourself.

**Outputs**

- `comment` (object): A comment

**Example output**

```json
{
  "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 (`target`, text, required): A post's or comment's link, or the post_id or comment_urn an earlier LinkedIn step returned.
- Reaction (`reaction`, text): Defaults to Like. One of: `LIKE`, `PRAISE` (Celebrate), `APPRECIATION` (Support), `EMPATHY` (Love), `INTEREST` (Insightful), `ENTERTAINMENT` (Funny). Default: `LIKE`.
- React as (`react_as`, text): Yourself, or a Company Page you manage. Leave empty for yourself.

**Outputs**

- `actor` (text): Who reacted: your member URN or the Page's
- `reaction` (text): The reaction, such as LIKE
- `reaction_id` (text): The reaction's id
- `target` (text): What was reacted to

**Example output**

```json
{
  "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 (`document`, text, required): 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 (`title`, text): Shown above the document. Defaults to its file name.
- Text (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `document_id` (text): The document LinkedIn holds
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `title` (text): The document's title
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`image`, text, required): A JPG, PNG or GIF up to 20 MB: upload one, pick one from an earlier step, or give a public link.
- Text (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Image description (`alt_text`, text): Describes the image for people using screen readers.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `image_id` (text): The image LinkedIn holds
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`url`, text, required): The web page to share.
- Text (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Card title (`title`, text): Leave empty to use the page's own title.
- Card description (`description`, text): Leave empty to use the page's own description.
- Card image (`thumbnail`, text): A JPG, PNG or GIF: upload one or give a link. Leave empty to use the page's own image.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `link` (text): The page shared
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `thumbnail_id` (text): The card image LinkedIn holds
- `title` (text): The card's title
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`images`, list, required): 2 to 20 JPG, PNG or GIF images: upload them, pick them from earlier steps, or give public links.
- Text (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `image_ids` (list): The images LinkedIn holds
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`question`, text, required): Up to 140 characters.
- Answers (`options`, list, required): 2 to 4 answers, each up to 30 characters.
- Open for (`duration`, text): 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 (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `duration` (text): How long it is open: ONE_DAY to FOURTEEN_DAYS
- `options` (list): The answers
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `question` (text): The question
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`text`, text, required): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`video`, text, required): 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 (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Video title (`title`, text): A title shown with the video.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `video_id` (text): The video LinkedIn holds
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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 (`comment`, text, required): The comment's link (from **Copy link to comment**) or the comment_urn an earlier LinkedIn step returned.

**Outputs**

- `comment_urn` (text): The comment deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "comment_urn": "urn:li:comment:(urn:li:activity:6641861161010679808,6643206422739898368)",
  "deleted": true
}
```

### Delete post

Delete a post you or your Page published.

**Inputs**

- Post (`post`, text, required): The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `post_id` (text): The post deleted

**Example output**

```json
{
  "deleted": true,
  "post_id": "urn:li:share:6844785523593134080"
}
```

### Edit post text

Change the text of a post you or your Page published.

**Inputs**

- Post (`post`, text, required): The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
- New text (`text`, text, required): The post's new text, up to 3,000 characters.

**Outputs**

- `post_id` (text): The post edited
- `text` (text): Its new text
- `updated` (true/false): Always true once edited
- `url` (text): A link to the post

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.

**Outputs**

- `follower_count` (number): How many follow the Page
- `page` (object): A LinkedIn Company Page

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.
- From (`start_date`, date): The first day to include. Defaults to 30 days back.
- To (`end_date`, date): The last day to include. Defaults to two days ago.
- Per (`granularity`, text): Split the dates into days, weeks or months. One of: `DAY`, `WEEK`, `MONTH`.

**Outputs**

- `follower_count` (number): How many follow the Page now
- `new_followers` (number): New followers over the range
- `new_organic_followers` (number): New followers who weren't from ads
- `new_paid_followers` (number): New followers from ads
- `page_urn` (text): The Page's URN
- `periods` (list): New followers each day, week or month

**Example output**

```json
{
  "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_pages` (true/false): Whether the app has the Community Management API
- `profile` (object): The LinkedIn member the connection acts as

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.
- From (`start_date`, date): The first day to include. Leave both dates empty for the Page's lifetime totals.
- To (`end_date`, date): The last day to include. Defaults to today.
- Per (`granularity`, text): Split the dates into days or months. Defaults to days. One of: `DAY`, `MONTH`.

**Outputs**

- `lifetime` (true/false): True when these are lifetime totals, not dates
- `page_urn` (text): The Page's URN
- `periods` (list): The numbers for each day or month; empty for lifetime
- `totals` (object): The numbers over the whole range

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.
- From (`start_date`, date): The first day to include. Leave both dates empty for the Page's lifetime totals.
- To (`end_date`, date): The last day to include. Defaults to today.
- Per (`granularity`, text): Split the dates into days or months. Defaults to days. One of: `DAY`, `MONTH`.

**Outputs**

- `lifetime` (true/false): True when these are lifetime totals, not dates
- `page_urn` (text): The Page's URN
- `periods` (list): Views each day or month; empty for lifetime
- `totals` (object): Views over the whole range

**Example output**

```json
{
  "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 (`post`, text, required): The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.

**Outputs**

- `engagement` (object): Its reactions and comments; empty when LinkedIn doesn't share them
- `post` (object): The post

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.
- Post (`post`, text, required): The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.

**Outputs**

- `clicks` (number): Clicks on it
- `comments` (number): Comments
- `engagement_rate` (number): Clicks, likes, comments and reposts divided by impressions
- `impressions` (number): Times it was shown
- `likes` (number): Likes
- `page_urn` (text): The Page's URN
- `post_id` (text): The post
- `shares` (number): Reposts
- `unique_impressions` (number): Members it was shown to

**Example output**

```json
{
  "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 (`post`, text, required): The post's link (from **Copy link to post** on LinkedIn) or the post_id an earlier LinkedIn step returned.
- How many (`limit`, number): How many to return, 1 to 100. From 1 to 100.
- Skip (`start`, number): How many to skip, for the next page: the next_start of the last one. At least 0.

**Outputs**

- `comments` (list): The comments
- `count` (number): How many comments on this page of results
- `next_start` (number): Pass as Skip for the next page; empty on the last
- `post_id` (text): The post

**Example output**

```json
{
  "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**

- `count` (number): How many Pages
- `pages` (list): Your Company Pages

**Example output**

```json
{
  "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 (`page`, text, required): A Page you manage. Pick one, or give its link or id.
- How many (`limit`, number): How many to return, 1 to 100. From 1 to 100.
- Skip (`start`, number): How many to skip, for the next page: the next_start of the last one. At least 0.
- Order (`sort`, text): Defaults to newest first. One of: `CREATED` (Newest first), `LAST_MODIFIED` (Recently changed first).

**Outputs**

- `count` (number): How many posts on this page of results
- `next_start` (number): Pass as Skip for the next page; empty on the last
- `page_urn` (text): The Page's URN
- `posts` (list): The posts

**Example output**

```json
{
  "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 (`target`, text, required): A post's or comment's link, or the post_id or comment_urn an earlier LinkedIn step returned.
- React as (`react_as`, text): Yourself, or a Company Page you manage. Leave empty for yourself.

**Outputs**

- `actor` (text): Whose reaction it was
- `removed` (true/false): False when there was no reaction to remove
- `target` (text): What the reaction was on

**Example output**

```json
{
  "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 (`post`, text, required): The post_id an earlier LinkedIn step returned, or a post link that contains urn:li:share or urn:li:ugcPost.
- Text (`text`, text): What the post says, up to 3,000 characters. Words starting with # become hashtags.
- Post as (`post_as`, text): 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 (`visibility`, text): Defaults to anyone. One of: `PUBLIC` (Anyone), `CONNECTIONS` (My connections only (when posting as yourself)), `LOGGED_IN` (Signed-in LinkedIn members).

**Outputs**

- `author` (text): Who posted it: your member URN or the Page's
- `post_id` (text): The post's id (urn:li:share:... or urn:li:ugcPost:...), for the other LinkedIn steps
- `repost_of` (text): The post reposted
- `text` (text): The post's text
- `url` (text): A link to the post on LinkedIn
- `visibility` (text): Who can see it: PUBLIC, CONNECTIONS or LOGGED_IN

**Example output**

```json
{
  "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"
}
```
