LinkedIn Post Comment & Reaction Extractor [NO COOKIES] ✅ avatar

LinkedIn Post Comment & Reaction Extractor [NO COOKIES] ✅

Pricing

from $5.50 / 1,000 results

Go to Apify Store
LinkedIn Post Comment & Reaction Extractor [NO COOKIES] ✅

LinkedIn Post Comment & Reaction Extractor [NO COOKIES] ✅

Rising star

Scrape LinkedIn post comments, replies, and reactions at scale. Collects comment text, author profiles, reaction types, reactor details, and timestamps with configurable limits - no LinkedIn login required.

Pricing

from $5.50 / 1,000 results

Rating

5.0

(2)

Developer

Unseen User

Unseen User

Maintained by Community

Actor stats

5

Bookmarked

39

Total users

32

Monthly active users

2 days ago

Last modified

Share

LinkedIn Post Comment & Reaction Extractor

Scrape LinkedIn post comments, replies, and reactions at scale. Collects comment text, author profiles, reaction types, reactor details, and timestamps with configurable limits — no LinkedIn login required and no API key needed.

Features

  • Extracts top-level comments and threaded replies from any public LinkedIn post
  • Scrapes post reactions with reactor profiles, including profile picture variants (small, medium, large, original)
  • Filters reactions by type: Like, Celebrate, Love, Insightful, Curious
  • Returns author name, headline, profile URL, and avatar for each commenter and reactor
  • Provides both absolute and relative timestamps for each comment
  • Detects edited and pinned comments
  • Limits results with configurable caps on comments and reactions per post
  • Processes multiple posts in a single run
  • Accepts post IDs, activity URLs, or full LinkedIn post links
  • Built-in retry logic with exponential backoff for reliable scraping
  • No LinkedIn login or cookies required
  • No external API key needed — everything is included out of the box

How It Works

This Actor uses the HarvestAPI LinkedIn endpoints to fetch comments and reactions from public LinkedIn posts. You provide one or more post URLs or IDs, and the scraper returns structured data for each comment, reply, and reaction — ready for export as JSON, CSV, or Excel.

Accepted Post Formats

You can provide posts in any of these formats:

  • Just the ID: 7302346926123798528
  • Activity URL: https://www.linkedin.com/feed/update/urn:li:activity:7302346926123798528/
  • Full post link: https://www.linkedin.com/posts/username_title-activity-7302346926123798528-dMnz

All three formats are automatically detected and handled.

Input Configuration

FieldTypeDefaultDescription
postsArray of strings(required)LinkedIn post URLs or IDs to extract comments from
sortByString"relevant""relevant" for top comments, "recent" for newest first
pageNumberInteger1Which page of results to fetch (100 per page)
includeRepliesBooleantrueSet to false to skip threaded replies
includeReactionsBooleantrueSet to false to skip reaction scraping
reactionTypeString"ALL"Filter by reaction type: ALL, LIKE, PRAISE, EMPATHY, APPRECIATION, INTEREST
commentsLimitInteger0Maximum number of comments to return per post. 0 means no limit
reactionsLimitInteger0Maximum number of reactions to return per post. 0 means no limit

Sample Input

{
"posts": [
"7302346926123798528",
"https://www.linkedin.com/feed/update/urn:li:activity:7302346926123798528/"
],
"sortBy": "relevant",
"pageNumber": 1,
"includeReplies": true,
"includeReactions": true,
"reactionType": "ALL",
"commentsLimit": 50,
"reactionsLimit": 100
}

Sorting

  • Most Relevant (default) — LinkedIn's own ranking of the most engaging comments
  • Most Recent — chronological order, newest first

Pagination

Results come back in pages of up to 100. Use pageNumber to step through them:

  • pageNumber: 1 → results 1–100
  • pageNumber: 2 → results 101–200
  • pageNumber: 3 → results 201–300

Pagination applies to both comments and reactions independently. Each page returns up to 100 comments and up to 100 reactions.

Output

Every item in the dataset includes a data_type field ("comment", "reaction", or "error") so you can easily filter results by type. Results can be exported as JSON, CSV, Excel, or accessed via the Apify API.

Comment Output

{
"data_type": "comment",
"comment_id": "7302375502034411520",
"text": "This is a great point! Healthcare professionals need...",
"posted_at": {
"timestamp": 1626782941000,
"date": "2023-07-20 12:49:01",
"relative": "2d"
},
"is_edited": false,
"is_pinned": false,
"comment_url": "https://www.linkedin.com/feed/update/...",
"comment_type": "comment",
"author": {
"name": "John Smith",
"headline": "Healthcare Professional | Digital Health Advocate",
"profile_url": "https://www.linkedin.com/in/johnsmith/",
"profile_picture": "https://media.licdn.com/dms/image/..."
},
"stats": {
"total_reactions": 25,
"reactions": {
"like": 20,
"appreciation": 3,
"empathy": 2,
"interest": 0,
"praise": 0
},
"comments": 3
},
"post_input": "7302346926123798528"
}

Replies include two extra fields:

{
"comment_type": "reply",
"parent_comment_id": "7302375502034411520"
}

Reaction Output

{
"data_type": "reaction",
"reaction_type": "LIKE",
"reactor": {
"name": "Jane Doe",
"headline": "Product Manager at TechCorp",
"profile_url": "https://www.linkedin.com/in/janedoe/",
"profile_picture": "https://media.licdn.com/dms/image/...",
"profile_pictures": {
"small": "https://media.licdn.com/dms/image/...shrink_100_100/...",
"medium": "https://media.licdn.com/dms/image/...shrink_200_200/...",
"large": "https://media.licdn.com/dms/image/...shrink_400_400/...",
"original": "https://media.licdn.com/dms/image/...shrink_800_800/..."
}
},
"post_input": "7302346926123798528"
}

Error Output

If a post fails to process, an error entry is included in the results so you can identify which posts had issues:

{
"data_type": "error",
"post_input": "7302346926123798528",
"error": "HarvestAPI returned 404: Not Found"
}

Cost and Performance

  • Memory: Runs efficiently on 256 MB (default), supports up to 1 GB for very large runs
  • Timeout: Default 5-minute timeout per run, sufficient for most use cases
  • Speed: Typically processes each post in a few seconds
  • No proxies or cookies required — the scraper handles everything internally

Ideas for Use

  • Track sentiment and engagement on your own LinkedIn posts
  • Monitor competitor content performance and audience reactions
  • Research audience opinions for market analysis
  • Identify active commenters, reactors, and potential leads
  • Build datasets for social media analytics dashboards
  • Analyze reaction patterns across different post types
  • Export commenter lists for outreach campaigns
  • Feed data into CRM or marketing automation tools

Limitations

  • Only public LinkedIn posts can be scraped — private or restricted posts are not accessible
  • Results are limited to 100 items per page; use pagination to retrieve more
  • Reaction stats on individual comments reflect counts only (not per-reactor breakdowns)

Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by LinkedIn Corporation. LinkedIn is a registered trademark of LinkedIn Corporation. All trademarks are property of their respective owners.