Linkedin Posts Informations Parser 馃煝 UpToDate 9 feb-2024 avatar
Linkedin Posts Informations Parser 馃煝 UpToDate 9 feb-2024
Try for free

1 day trial then $19.00/month - No credit card required now

View all Actors
Linkedin Posts Informations Parser 馃煝 UpToDate 9 feb-2024

Linkedin Posts Informations Parser 馃煝 UpToDate 9 feb-2024

saswave/linkedin-posts-informations-parser
Try for free

1 day trial then $19.00/month - No credit card required now

Allows you to extract all informations from a post (number of likes, comments, shares, video, image, document, article link with the exact date and time of the post). Input can be a /posts /company or /in url and it will parse multiple posts from the source (organic posts and promoted ads).

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "url": "https://www.linkedin.com/company/financial-times/",
8  "days_since_post": 30,
9  "cookies": [
10    {
11      "domain": ".linkedin.com",
12      "expirationDate": 1716940616.08443,
13      "hostOnly": false,
14      "httpOnly": false,
15      "name": "test",
16      "path": "/",
17      "sameSite": "no_restriction",
18      "secure": true,
19      "session": false,
20      "storeId": "0",
21      "value": "fake",
22      "id": 1
23    }
24  ],
25  "proxyConfiguration": {
26    "useApifyProxy": true
27  }
28}
29EOF
30
31# Run the Actor
32curl "https://api.apify.com/v2/acts/saswave~linkedin-posts-informations-parser/runs?token=$API_TOKEN" \
33  -X POST \
34  -d @input.json \
35  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 31 monthly users
  • 38.6% runs succeeded
  • 1.2 days response time
  • Modified 11 days ago

You might also like these Actors