问题描述
我正在尝试练习挖掘社交网络"一书中的示例.与我在Twitter和Facebook中创建的应用程序不同,Oauth令牌和linkedin中的秘密从未显示出来.我只看到我的client ID
和client secret
.
I am trying to practice the examples in the book "mining the social web". Unlike the applications I had created in twitter and facebook, the Oauth token and secret in the linkedin never show up. I only see my client ID
and client secret
.
顺便说一句,由于我没有个人网址,有人可以向我解释我应该输入什么适当的网址吗?在twitter和facebook应用程序中,我只是随机输入了一些URL,例如www.twitter.com,它就起作用了.在此用于linkedin的应用程序中,我输入了www.linkedin.com,但是没有Oauth令牌出现.
by the way, since I do not have any personal url, can someone explain to me what is the appropriate URL I should enter? In the twitter and facebook applications, I just randomly entered some URL, like www.twitter.com, and it worked. In this application for linkedin, I entered www.linkedin.com, but no Oauth token comes out.
我知道这个问题对你们来说太基本了,很抱歉发布这个问题.我做了一段时间的谷歌解决方案,但似乎没有人发布过这个问题.
I know this question is too basic for you guys, sorry for posting this. I did google the solution for a while, but it seems like no one has ever posted this question.
推荐答案
您不能直接获取OAuth Token
.您必须按照身份验证过程来接收OAuth Token
.
You can't directly get an OAuth Token
. You have to follow the authentication procedure to receive an OAuth Token
.
涉及的步骤:
- 使用服务器正在侦听的有效回调URL配置LinkedIn应用程序.
- 请求授权码
- 请求令牌的Exchange授权代码
此LinkedIn链接将帮助您确定在每个请求中发送哪些参数以及该URL的URL. https://developer.linkedin.com/docs/oauth2
This LinkedIn link will help you on what parameters to send in each request and the URL for the same.https://developer.linkedin.com/docs/oauth2
这篇关于在linkedin应用程序中的哪里可以找到Oauth令牌和机密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!