We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我一直在使用
node-linkedin
,非常容易设置,你可以用它做任何事情...它看起来也比 5 的答案更有希望很多投票。快速简单的设置示例:
使用令牌初始化 linkedin 类,例如从前端收到的 oauth2 令牌。 this.token = 从前端解析到我的 api 的令牌。
这是我正在使用的承诺的 linkedin 调用:
如果没有承诺,它看起来像这样:
I've been using
node-linkedin
, very easy to setup, and you can do everything with it...It also looks a lot more promising than the answer with 5 votes.Quick and easy setup example:
Initialise a linkedin class with a token, e.g an oauth2 token you received from your front-end. this.token = the token that was parsed to my api from the frontend.
Here is a promised linkedin call that I'm using:
Without the promise it'd look like this:
https://www.npmjs.com/package/node-linkedin 是官方支持的图书馆。
https://www.npmjs.com/package/node-linkedin is the officially supported library.
看看这个。
我使用互联网上的一些可用帮助来实现这一点。
就像魅力一样。
只需按照自述文件中的说明进行操作即可。
https://github.com/imjuoy/SignIn-With-LinkedIn
另请确保在运行应用程序之前,您可以在 Developers.linkedin.com 上设置 API 密钥、API 密钥密钥和回调 URL。
记得替换server.js中的回调URL
Check this out.
I implemented this using some available help from the internet.
Works like a charm.
Just follow the instructions in the README.
https://github.com/imjuoy/SignIn-With-LinkedIn
Also ensure that you setup your API Key, API Key secret and callback URL at developers.linkedin.com before you run the application.
Remember to replace the callback URL in the server.js
http://github.com/ciaranj/node-oauth/tree/master/examples 有一些使用 OAuth 的服务的示例。 YMMV。
http://github.com/ciaranj/node-oauth/tree/master/examples has some examples for another service that uses OAuth. YMMV.
https://github.com/eilonmore/linkedin-private-api
你基本上可以用它做一切事情。
注意:它没有使用LinkedIn的官方API。
https://github.com/eilonmore/linkedin-private-api
You can basically do everything with it.
Note: it doesn't use the official API of LinkedIn.