GithubHelp home page GithubHelp logo

linkedin-export-tool's People

Contributors

nhduy1985 avatar timabell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

linkedin-export-tool's Issues

OAuth fails with "Content Encoding Error"

The oauth sign-in fails for me on firefox / linux.

This is when trying step 2 - Open the browser to request access authentication http://localhost:3001/oauth/linkedin

It redirects to:

https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=the-linkedin-api&scope=r_basicprofile%20r_fullprofile%20r_emailaddress%20r_network%20r_contactinfo%20rw_nus%20rw_groups%20w_messages&state=0.38589458470232785&redirect_uri=http://localhost:3001/oauth/linkedin/callback

And then the browser shows this:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Please contact the web site owners to inform them of this problem.

Chromium says "ERR_CONTENT_DECODING_FAILED"

npm install fails

npm install
npm http GET https://registry.npmjs.org/fs/0.0.1
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/node-linkedin
npm http GET https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/node-linkedin
npm http 404 https://registry.npmjs.org/fs/0.0.1
npm ERR! Error: version not found: 0.0.1 : fs/0.0.1
npm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:272:14)
npm ERR!     at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)
npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)
npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
npm ERR!     at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:920:16
npm ERR!     at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/tim/repo/linkedin-export-tool
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/tim/repo/linkedin-export-tool/npm-debug.log
npm ERR! not ok code 0

error during OAuth - TypeError: undefined is not a function

Not quite sure how I managed to trigger this, filing an issue for the record in case it happens again.

Had been changing the "Authorized Redirect URLs" list on LinkedIn, then when visiting http://localhost:3001/oauth/linkedin I got this:

TypeError: undefined is not a function
    at Object.getAccessToken (/home/tim/repo/linkedin-export-tool/node_modules/node-linkedin/lib/auth.js:69:24)
    at app.get.response (/home/tim/repo/linkedin-export-tool/app.js:17:19)
    at Layer.handle [as handle_request] (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/route.js:131:13)
    at Route.dispatch (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/layer.js:95:5)
    at /home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/index.js:277:22
    at Function.process_params (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/index.js:330:12)
    at next (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/router/index.js:271:10)
    at expressInit (/home/tim/repo/linkedin-export-tool/node_modules/express/lib/middleware/init.js:33:5)

doesn't create export folder if missing, just errors

{ [Error: ENOENT, open 'export/linkedin.json'] errno: 34, code: 'ENOENT', path: 'export/linkedin.json' }

and there's nothing in the readme to say you need to create it first

create the folder manually and then it works

export fails - too many permissions requested?

I thought initially it was the export that had died, but then I realized the oauth part had silently failed and dropped the following in a file called linkedin.json:

{"error_description":"missing required parameters, includes an invalid parameter value,
 parameter more than once. : Unable to retrieve access token : authorization code not
 found","error":"invalid_request"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.