Linkedin Profile Posts Scraper ( BULK/MASS ) avatar
Linkedin Profile Posts Scraper ( BULK/MASS )
Try for free

7 days trial then $25.00/month - No credit card required now

View all Actors
Linkedin Profile Posts Scraper ( BULK/MASS )

Linkedin Profile Posts Scraper ( BULK/MASS )

organic_invite/apify-linkedin-profile-posts-mass
Try for free

7 days trial then $25.00/month - No credit card required now

THis actor can scrape upto 100 profiles posts of 50 people from linkedin.com in one go

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

Node.js

Python

curl

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    "links": [
9        "http://www.linkedin.com/in/luke-sharp-b3838719a",
10        "http://www.linkedin.com/in/rodneydbainjr",
11        "http://www.linkedin.com/in/arielschmid",
12        "http://www.linkedin.com/in/christopher-ambrose-3248a540",
13        "http://www.linkedin.com/in/paul-tomco-4b9709117",
14        "http://www.linkedin.com/in/lindseystevenss",
15        "http://www.linkedin.com/in/christophermichaelsmith",
16        "http://www.linkedin.com/in/shane-smith-4baa69126",
17        "http://www.linkedin.com/in/benbarnard",
18        "http://www.linkedin.com/in/gemayelabdullah",
19        "http://www.linkedin.com/in/jill-tuttle-a2704087",
20        "http://www.linkedin.com/in/claudia-sparks-7799546",
21        "http://www.linkedin.com/in/francesca-schena-710129195",
22        "http://www.linkedin.com/in/ryan-hanson-8348b71a4",
23        "http://www.linkedin.com/in/mounika-banda-45a59b110",
24        "http://www.linkedin.com/in/dan-sigmans-4a7a3252",
25        "http://www.linkedin.com/in/alexanderharmon256",
26        "http://www.linkedin.com/in/keerthanasureshanand",
27        "http://www.linkedin.com/in/jdyork",
28        "http://www.linkedin.com/in/jessica-mintz-178b0a94",
29        "http://www.linkedin.com/in/mayela-bautista-07680042",
30        "http://www.linkedin.com/in/amritpal-singh-9a7bb1194",
31        "http://www.linkedin.com/in/thiago-alvares-9b485140",
32        "http://www.linkedin.com/in/nathan-williard-328163a7",
33        "http://www.linkedin.com/in/steffanie-schrader",
34        "http://www.linkedin.com/in/nathan-schroeder-535646105",
35        "http://www.linkedin.com/in/mikesparling",
36        "http://www.linkedin.com/in/kevinworleyit",
37        "http://www.linkedin.com/in/maria-williams-48031823b",
38        "http://www.linkedin.com/in/lisa-song-17989a2a",
39    ],
40    "count": 1,
41    "withComments": 2,
42    "withReposts": 2,
43}
44
45# Run the Actor and wait for it to finish
46run = client.actor("organic_invite/apify-linkedin-profile-posts-mass").call(run_input=run_input)
47
48# Fetch and print Actor results from the run's dataset (if there are any)
49print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
50for item in client.dataset(run["defaultDatasetId"]).iterate_items():
51    print(item)
52
53# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 100.0% runs succeeded
  • Created in Apr 2024
  • Modified 25 days ago