To use this script, edit company, maxPages, message in linkedin.js
create a credentials.json file, put your credentials there :
{
"username": "sample@gmail.com",
"password": "12345678"
}
then execute the following command to install dependencies and run script respectively:
npm install
node linkedin.js