======================
brew install node
npm install phantomjs -g
git clone [email protected]:krystiangw/linkedinscript.git
cd linkedinscript
npm install
Be sure to set env vaiables: EMAIL and PASSWORD for your linkedin account. As arguments it accepts list of links to linkedin profiles. Eg:
EMAIL='[email protected]' PASSWORD='secret' node linkedinscript.js 'https://www.linkedin.com/in/treygriffith' 'https://www.linkedin.com/profile/view?id=14484635&authType=name&authToken=0-26&trk=prof-sb-browse_map-name'
Get response as json from stout. Example:
{
"name":"linkedin_logs",
"hostname":"krystians-mbp",
"pid":76889,
"level":30,
"companyName":"Teleborder",
"fullName":"Trey Griffith",
"jobTitle":"VP of Technology at Teleborder",
"results":"OK",
"msg":"",
"time":"2015-01-05T08:57:14.296Z",
"v":0
}