Linkedin Posts Interactions Parser 馃煝 UpToDate 11 dec-2023 avatar
Linkedin Posts Interactions Parser 馃煝 UpToDate 11 dec-2023
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Linkedin Posts Interactions Parser 馃煝 UpToDate 11 dec-2023

Linkedin Posts Interactions Parser 馃煝 UpToDate 11 dec-2023

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

3 days trial then $30.00/month - No credit card required now

Allows you to extract all interactions from a post (comment, like, mentions). Input can be a /posts url. You can also provide a /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-interactions-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
  • 6 monthly users
  • 25.0% runs succeeded
  • 1.1 days response time
  • Modified about 1 month ago

You might also like these Actors