![Get Linkedin URL posts from profile/company avatar](https://images.apifyusercontent.com/l7TGgEWiDAzylP14q1yJxhgyHsBAeUQMC2fMfx6CeRI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
Get Linkedin URL posts from profile/company
Try for free
1 day trial then $25.00/month - No credit card required now
View all Actors![Get Linkedin URL posts from profile/company](https://images.apifyusercontent.com/l7TGgEWiDAzylP14q1yJxhgyHsBAeUQMC2fMfx6CeRI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
![Get Linkedin URL posts from profile/company](https://images.apifyusercontent.com/l7TGgEWiDAzylP14q1yJxhgyHsBAeUQMC2fMfx6CeRI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
Get Linkedin URL posts from profile/company
saswave/get-linkedin-url-posts-from-profile-company
Try for free
1 day trial then $25.00/month - No credit card required now
Generate a list of posts url from a target profile or company. Extract posts at scale within a date range or a number of days since posting
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 more
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/in/christianlim/",
8 "days_since_post": 14,
9 "cookies": [
10 {
11 "domain": ".linkedin.com",
12 "expirationDate": 1742798742.32278,
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": "To be changed. Check readme on how to extract cookie session from browser",
22 "id": 1
23 }
24 ],
25 "proxyConfiguration": {
26 "useApifyProxy": false
27 }
28}
29EOF
30
31# Run the Actor using an HTTP API
32# See the full API reference at https://docs.apify.com/api/v2
33curl "https://api.apify.com/v2/acts/saswave~get-linkedin-url-posts-from-profile-company/runs?token=$API_TOKEN" \
34 -X POST \
35 -d @input.json \
36 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 11 monthly users
- 4 stars
- 88.3% runs succeeded
- 4.2 hours response time
- Created in Feb 2024
- Modified 12 days ago
Categories