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

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "links": [
11        "http://www.linkedin.com/in/luke-sharp-b3838719a",
12        "http://www.linkedin.com/in/rodneydbainjr",
13        "http://www.linkedin.com/in/arielschmid",
14        "http://www.linkedin.com/in/christopher-ambrose-3248a540",
15        "http://www.linkedin.com/in/paul-tomco-4b9709117",
16        "http://www.linkedin.com/in/lindseystevenss",
17        "http://www.linkedin.com/in/christophermichaelsmith",
18        "http://www.linkedin.com/in/shane-smith-4baa69126",
19        "http://www.linkedin.com/in/benbarnard",
20        "http://www.linkedin.com/in/gemayelabdullah",
21        "http://www.linkedin.com/in/jill-tuttle-a2704087",
22        "http://www.linkedin.com/in/claudia-sparks-7799546",
23        "http://www.linkedin.com/in/francesca-schena-710129195",
24        "http://www.linkedin.com/in/ryan-hanson-8348b71a4",
25        "http://www.linkedin.com/in/mounika-banda-45a59b110",
26        "http://www.linkedin.com/in/dan-sigmans-4a7a3252",
27        "http://www.linkedin.com/in/alexanderharmon256",
28        "http://www.linkedin.com/in/keerthanasureshanand",
29        "http://www.linkedin.com/in/jdyork",
30        "http://www.linkedin.com/in/jessica-mintz-178b0a94",
31        "http://www.linkedin.com/in/mayela-bautista-07680042",
32        "http://www.linkedin.com/in/amritpal-singh-9a7bb1194",
33        "http://www.linkedin.com/in/thiago-alvares-9b485140",
34        "http://www.linkedin.com/in/nathan-williard-328163a7",
35        "http://www.linkedin.com/in/steffanie-schrader",
36        "http://www.linkedin.com/in/nathan-schroeder-535646105",
37        "http://www.linkedin.com/in/mikesparling",
38        "http://www.linkedin.com/in/kevinworleyit",
39        "http://www.linkedin.com/in/maria-williams-48031823b",
40        "http://www.linkedin.com/in/lisa-song-17989a2a"
41    ],
42    "count": 1,
43    "withComments": 2,
44    "withReposts": 2
45};
46
47(async () => {
48    // Run the Actor and wait for it to finish
49    const run = await client.actor("organic_invite/apify-linkedin-profile-posts-mass").call(input);
50
51    // Fetch and print Actor results from the run's dataset (if any)
52    console.log('Results from dataset');
53    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
54    const { items } = await client.dataset(run.defaultDatasetId).listItems();
55    items.forEach((item) => {
56        console.dir(item);
57    });
58})();
59
60// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • days response time
  • Created in Apr 2024
  • Modified 21 days ago