Network Linkedin batch Connection requests avatar
Network Linkedin batch Connection requests
Try for free

1 day trial then $10.00/month - No credit card required now

View all Actors
Network Linkedin batch Connection requests

Network Linkedin batch Connection requests

saswave/network-linkedin-batch-connection-requests
Try for free

1 day trial then $10.00/month - No credit card required now

Send batch of connection requests. Recommended to call the actor once a day. The script has a hard limit of 20 successfull connections requests per run. Linkedin has daily limits setup recommended usage: One run per day with 15-20 automated connection

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

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    "queries": [
11        {
12            "url": "https://www.linkedin.com/in/thomas-l/",
13            "message": "Hey ! i love your linkedin automations <3"
14        }
15    ],
16    "cookies": [
17        {
18            "domain": ".linkedin.com",
19            "expirationDate": 1716940616.08443,
20            "hostOnly": false,
21            "httpOnly": false,
22            "name": "test",
23            "path": "/",
24            "sameSite": "no_restriction",
25            "secure": true,
26            "session": false,
27            "storeId": "0",
28            "value": "fake",
29            "id": 1
30        }
31    ]
32};
33
34(async () => {
35    // Run the Actor and wait for it to finish
36    const run = await client.actor("saswave/network-linkedin-batch-connection-requests").call(input);
37
38    // Fetch and print Actor results from the run's dataset (if any)
39    console.log('Results from dataset');
40    const { items } = await client.dataset(run.defaultDatasetId).listItems();
41    items.forEach((item) => {
42        console.dir(item);
43    });
44})();
Developer
Community logoMaintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • Created in Nov 2023
  • Modified 3 months ago

You might also like these Actors