A NodeJS tool to export Linkedin data
git clone https://github.com/nhduy1985/linkedin-export-tool.git
cd linkedin-export-tool
npm install
mkdir export
cp config.json.dist config.json
vim config.json
Get an API key:
From the LinkedIn FAQ:
Where can I find my API key?
Click on the My Apps link in the top navigation menu to manage your LinkedIn applications.
From here, you can create a new application if you don't already have one, or view the details of your existing applications. You will find your
Client ID
(otherwise known as API Key/ID or Consumer Key/ID) listed in the "Authentication" side nav link, underneath the header "Authentication Keys".
Add http://localhost:3001/oauth/linkedin/callback
to the list of "Authorized
Redirect URLs" in the "OAuth 2.0" section of the app configuration on
LinkedIn's developer site. Without this you would get "invalid redirect_uri.
This value must match a URL registered with the API Key."
Put your API secret into config.json
as the value for "secret"
. Put your
Client_ID into config.json
as the value for "api"
(which is actually the
client id, confusingly)
- Run the tool
node app.js
-
Open the browser to request access authentication: http://localhost:3001/oauth/linkedin
-
Export data http://localhost:3001/export
A json export\linkedin.json
will be saved with data specified on
linkedin.people.me(['id', 'first-name', 'last-name','public-profile-url','picture-url','positions','projects','skills']
- Export simple data from "me"
- Export more data
- Integrate with Grunt
- Node-Linkedin https://www.npmjs.org/package/node-linkedin
- Linkedin APIs https://developer.linkedin.com/apis