# LinkedIn Posts Scraper

Extract post content, poster name, comment number, etc from LinkedIn by URLs.

- Template page: [https://www.octoparse.com/template/cccccc](https://www.octoparse.com/template/cccccc)
- Categories: Social Media
- Status: `PUBLISHED`
- Run mode: `LOCAL`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages.

## Output

The current workflow extracts 7 fields, including `Name`, `FollowerNumber`, `Posted`, `PostContent`, `Comment`, `Repost`, `Reaction`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete LinkedIn Account, LinkedIn Password, LinkedIn Post Page URLs (up to 10,000) and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### LinkedIn Account

Required. LinkedIn Account Constraints: minLength=1; maxLength=500.

### LinkedIn Password

Required. LinkedIn Password Constraints: minLength=1; maxLength=500.

### LinkedIn Post Page URLs (up to 10,000)

Required. LinkedIn Post Page URLs (up to 10,000) Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=5000.

## How to Use

# LinkedIn Posts Scraper

Collects post and engagement data from LinkedIn: Name, FollowerNumber, Posted, PostContent, Comment, Repost, Reaction.

**Pricing:** Free, no per-line fee. Octoparse plan or resource limits still apply.

## Input

Complete these required fields:

- **LinkedIn Account**
- **LinkedIn Password**
- **LinkedIn Post Page URLs** – Up to 10,000 entries per run.

## How to Use

1. Open LinkedIn Posts Scraper and click **Try it!**.
2. Fill in LinkedIn Account, LinkedIn Password, and LinkedIn Post Page URLs (max 10,000).
3. Run locally in Octoparse and start the task.
4. Review the fields (Name, FollowerNumber, Posted, PostContent, Comment, Repost, Reaction) and export as needed.

## Output

Returns structured rows with: Name, FollowerNumber, Posted, PostContent, Comment, Repost, Reaction.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [🔥 LinkedIn Job Scraper](https://www.octoparse.com/template/ffffff)
- [LinkedIn Job Details Page Scraper](https://www.octoparse.com/template/eeeeeee)
- [LinkedIn Job Scraper](https://www.octoparse.com/template/dddddddd)
- [LinkedIn Company Profile Scraper](https://www.octoparse.com/template/aaaaaaaaa)
- [LinkedIn Español Empleo Scraper](https://www.octoparse.com/template/bbbbbbbbbbbb)

## Input Schema

```json
{
  "title": "LinkedIn Posts Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "linkedIn_Account": {
      "title": "LinkedIn Account",
      "description": "LinkedIn Account",
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "x-octoparse": {
        "apiEnabled": false
      }
    },
    "linkedIn_Password": {
      "title": "LinkedIn Password",
      "description": "LinkedIn Password",
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "x-octoparse": {
        "apiEnabled": false
      }
    },
    "linkedIn_Post_Page_URLs": {
      "title": "LinkedIn Post Page URLs (up to 10,000)",
      "description": "LinkedIn Post Page URLs (up to 10,000)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "linkedIn_Account",
    "linkedIn_Password",
    "linkedIn_Post_Page_URLs"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": ""
    },
    "FollowerNumber": {
      "type": "string",
      "description": ""
    },
    "Posted": {
      "type": "string",
      "description": ""
    },
    "PostContent": {
      "type": "string",
      "description": ""
    },
    "Comment": {
      "type": "string",
      "description": ""
    },
    "Repost": {
      "type": "string",
      "description": ""
    },
    "Reaction": {
      "type": "string",
      "description": ""
    }
  },
  "title": "LinkedIn Posts Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `cccccc`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/cccccc.json)
- [Manifest](https://www.octoparse.com/templates/cccccc-manifest.json)
