问题
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
.
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.

回答1:
You can't directly get an OAuth Token
. You have to follow the authentication procedure to receive an OAuth Token
.
Steps involved:
- Configure your LinkedIn application with a valid callback url which your server is listening to.
- Request an Authorization Code
- Exchange Authorization Code for a Request Token
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
来源:https://stackoverflow.com/questions/31226310/where-to-find-the-oauth-token-and-secret-in-the-linkedin-application