# Collect LinkedIn posts for employee advocacy records

**Use case:** 

Collect post text, author links, publication dates and source URLs from a supplied LinkedIn list for employee advocacy records. Program owners can document posts participants have supplied and compare them with their own campaign roster. The task does not infer employment or participation.

## Input

```json
{
  "inputList": [
    "https://www.linkedin.com/posts/linkedin_stay-up-to-date-on-your-linkedin-activity-activity-6124295313319538688-ILYg"
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "created_at": {
    "label": "Created At",
    "format": "string"
  },
  "author.type": {
    "label": "Author / Type",
    "format": "text"
  },
  "author.name": {
    "label": "Author / Name",
    "format": "text"
  },
  "author.url": {
    "label": "Author / URL",
    "format": "link"
  },
  "author.image": {
    "label": "Author / Image",
    "format": "image"
  },
  "author.followers": {
    "label": "Author / Followers",
    "format": "number"
  },
  "images.url": {
    "label": "Images / URL",
    "format": "array"
  },
  "images.width": {
    "label": "Images / Width",
    "format": "array"
  },
  "images.height": {
    "label": "Images / Height",
    "format": "array"
  },
  "images.caption": {
    "label": "Images / Caption",
    "format": "array"
  },
  "videos.url": {
    "label": "Videos / URL",
    "format": "array"
  },
  "videos.thumbnail_url": {
    "label": "Videos / Thumbnail URL",
    "format": "array"
  },
  "videos.duration": {
    "label": "Videos / Duration",
    "format": "array"
  },
  "videos.caption": {
    "label": "Videos / Caption",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "external_links": {
    "label": "External Links",
    "format": "array"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "comments_count": {
    "label": "Comments Count",
    "format": "integer"
  },
  "reposts": {
    "label": "Reposts",
    "format": "integer"
  },
  "comments.text": {
    "label": "Comments / Text",
    "format": "array"
  },
  "comments.created_at": {
    "label": "Comments / Created At",
    "format": "array"
  },
  "comments.likes": {
    "label": "Comments / Likes",
    "format": "array"
  },
  "comments.author.type": {
    "label": "Comments / Author / Type",
    "format": "array"
  },
  "comments.author.name": {
    "label": "Comments / Author / Name",
    "format": "array"
  },
  "comments.author.url": {
    "label": "Comments / Author / URL",
    "format": "array"
  },
  "comments.author.image": {
    "label": "Comments / Author / Image",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Post Scraper – Text, Media & Engagement](https://apify.com/scrapingmonkey/linkedin-post-details-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapingmonkey/linkedin-post-details-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/scrapingmonkey/linkedin-post-details-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
