![Get Linkedin URL posts from profile/company avatar](https://images.apifyusercontent.com/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/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/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
![Get Linkedin URL posts from profile/company](https://images.apifyusercontent.com/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/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
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "url": "https://www.linkedin.com/in/christianlim/",
9 "days_since_post": 14,
10 "cookies": [{
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 "proxyConfiguration": { "useApifyProxy": False },
25}
26
27# Run the Actor and wait for it to finish
28run = client.actor("saswave/get-linkedin-url-posts-from-profile-company").call(run_input=run_input)
29
30# Fetch and print Actor results from the run's dataset (if there are any)
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33 print(item)
34
35# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 11 monthly users
- 6 stars
- 35.0% runs succeeded
- 8 hours response time
- Created in Feb 2024
- Modified 15 days ago
Categories