Actor picture

Example Linkedin Sign In

drobnikj/linkedin-sign-in-example

DEPRECATED: This actor is no longer actively maintained.

This act shows how you can sign-in to LinkedIn with Apify act with puppeteer image. It is only example how to do it. Usage: 1. Copy&paste this code to your act. 2. Set up email forwarding for user, that use for sign-in: FROM: security-noreply@linkedin.com FORWARD TO: 8mxmzpus@robot.zapier.com With this email settings, all your emails with verification codes will be redirect to mail parser and it will set verification code to the running act. 3. Implement your code with puppeteer in act, start from comment '// Crawl linkedin as logged user'. NOTE: Act can't solve captcha at this moment. You can avoid of getting captcha, when you sign-in maximum five times per day with single user.

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const Apify = require('apify');

// Set API token
Apify.client.setOptions({ token: '<YOUR_API_TOKEN>' });

// Prepare actor input
const input = {};

// Run the actor
const run = await Apify.call('drobnikj/linkedin-sign-in-example', input);

// Print actor output (if any)
console.log('Output');
console.dir(run.output);

// Fetch and print actor results from the run's dataset (if any)
console.log('Results from dataset');
const dataset = await Apify.openDataset(run.defaultDatasetId, { forceCloud: true });
await dataset.forEach(async (item, index) => {
    console.log(JSON.stringify(item));
});
  • Updated
  • Last run
  • Used1025 times
  • Used by66 users
Categories