# Linkedin Posts Reactions (`data_link_miner/linkedin-posts-reactions`) Actor

Extract posts, engagement metrics, and media from LinkedIn profiles & company pages. This actor allows you to scrape LinkedIn posts from personal profiles or company pages.

- **URL**: https://apify.com/data_link_miner/linkedin-posts-reactions.md
- **Developed by:** [Data LinkMiner](https://apify.com/data_link_miner) (community)
- **Categories:** Automation, Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

### LinkedIn Posts Reactions Scraper

Extract linkedin profiles who like, share, mention, comments on a LinkedIn posts

Collect profile title, fullname, direct url

### How to provide cookie session ?

- install "Copy Cookies" chrome extension
- login to your account and go to your linkedin home page
- Use the extension (clicking will copy cookies)
- Paste the cookies in the input "cookies" from the actor

### Features

👍 Extract post reactions (Like, Celebrate, Support, Love, Insightful, Curious)

💬 Extract comments metadata (author, date, content when available)

👤 Identify user profiles who interacted with the post

🧾 Retrieve LinkedIn profile URLs and internal member IDs

🧑‍💼 Extract job titles and display names

🔗 Capture comment & post references

🕒 Timestamped interaction data

📦 Clean, structured JSON output

🔐 Authenticated scraping via LinkedIn cookies

### Use Cases

📊 Engagement analysis for LinkedIn posts

📢 Campaign performance tracking

🧠 Audience & community insights

🕵️ Influencer and thought leader analysis

🎯 Lead discovery from post interactions

🤖 CRM enrichment & social selling workflows

📈 Content strategy optimization

🧾 Archiving engagement history

### OUTPUT

```json
{
  "comment_date": "",
  "interaction_type": "like",
  "full_name": "Ling-Ling Y.",
  "title": "Product Owner / Senior Digital Projects Manager",
  "linkedin": "https://www.linkedin.com/in/ACoAAAGP8eYBqdoonp79jleBqKdZ79i-Wy9pQNg",
  "li_member_id": "",
  "fsd_profile_id": "ACoAAAGP8eYBqdoonp79jleBqKdZ79i-Wy9pQNg",
  "comment_link": "",
  "text": "",
  "ref": "https://www.linkedin.com/posts/tukanebaribade_mon-dernier-quarter-s%C3%A9tend-jusquau-q1-2026-ugcPost-7411829576646942720-LLVn",
  "ref_type": "post",
  "like": true,
  "comment": false
}
```

### SUPPORT

Create an issue and share the failed run.

We will help resolve the problem.

We also stay available for questions

# Actor input Schema

## `unanonymize_url` (type: `boolean`):

Allow to get url with public identifier instead of anonymized url

## `cookies` (type: `array`):

Provide your own exported cookie session

## `proxyConfiguration` (type: `object`):

The best option is usually Automatic proxy. But you can also use your own proxies or no proxy

## `url` (type: `array`):

url of linkedin post

## `url_search` (type: `string`):

Make sure to already filter per newest date and provide a max number of posts you want to extract when providing a search url input

## `days_since_post` (type: `integer`):

Number of days since post linkedin (usefull with /company or /in url input, but not /search)

## `max_posts` (type: `integer`):

Number of maximum posts scraped (usefull for any of 3 input /company /in /search)

## Actor input object example

```json
{
  "unanonymize_url": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "url": [
    "https://www.linkedin.com/posts/sebastien-couasnon_podcast-fintech-tech45-activity-7172848771716763648-5JxH?utm_source=share&utm_medium=member_desktop"
  ],
  "url_search": "https://www.linkedin.com/company/financial-times/",
  "days_since_post": 30,
  "max_posts": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "url": [
        "https://www.linkedin.com/posts/sebastien-couasnon_podcast-fintech-tech45-activity-7172848771716763648-5JxH?utm_source=share&utm_medium=member_desktop"
    ],
    "url_search": "https://www.linkedin.com/company/financial-times/"
};

// Run the Actor and wait for it to finish
const run = await client.actor("data_link_miner/linkedin-posts-reactions").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "proxyConfiguration": { "useApifyProxy": False },
    "url": ["https://www.linkedin.com/posts/sebastien-couasnon_podcast-fintech-tech45-activity-7172848771716763648-5JxH?utm_source=share&utm_medium=member_desktop"],
    "url_search": "https://www.linkedin.com/company/financial-times/",
}

# Run the Actor and wait for it to finish
run = client.actor("data_link_miner/linkedin-posts-reactions").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "url": [
    "https://www.linkedin.com/posts/sebastien-couasnon_podcast-fintech-tech45-activity-7172848771716763648-5JxH?utm_source=share&utm_medium=member_desktop"
  ],
  "url_search": "https://www.linkedin.com/company/financial-times/"
}' |
apify call data_link_miner/linkedin-posts-reactions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_link_miner/linkedin-posts-reactions"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/P2yC9jt0V6bJheCA7/builds/mSym9nT1LSi7qivAd/openapi.json
