title: Linkedin API access token generation error
body: <p>i am trying to generate access token to collect linkedin data. I followed the instructions provided in the linkedin API documentaion. I created an app in developers page and got the following:</p>
  
  <pre><code>Application Details
  •   Company:
  Fresher
  •   Application Name:
  xxxxxxxxxx
  •   API Key:
  75pcum6zb2cael
  •   Secret Key:
  xxxxxxxxxxxxxxxx
  •   OAuth User Token:
  xxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
  •   OAuth User Secret:
  xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
  </code></pre>
  
  <p>Using the <strong>API Key</strong> i generated the <strong>authorization_code</strong> with the URL: </p>
  
  <blockquote>
    <p><a href="https://www.linkedin.com/uas/oauth2/authorization?response_type=code&amp;client_id=75pcum6zb2cael&amp;state=DCEEFWF45453sdffef424&amp;redirect_uri=https://www.google.com" rel="noreferrer">https://www.linkedin.com/uas/oauth2/authorization?response_type=code&amp;client_id=75pcum6zb2cael&amp;state=DCEEFWF45453sdffef424&amp;redirect_uri=https://www.google.com</a></p>
  </blockquote>
  
  <p>but when i finally tried to generate the access token using the below URL, i got an error response : </p>
  
  <blockquote>
    <p><a href="https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&amp;code=AUTHORIZATION_CODE&amp;redirect_uri=https://www.google.com&amp;client_id=75pcum6zb2cael&amp;client_secret=xxxxxxxxxxxxxxxx" rel="noreferrer">https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&amp;code=AUTHORIZATION_CODE&amp;redirect_uri=https://www.google.com&amp;client_id=75pcum6zb2cael&amp;client_secret=xxxxxxxxxxxxxxxx</a></p>
    
    <p>{"error_description":"missing required parameters, includes an invalid
    parameter value, parameter more than once. : Unable to retrieve access
    token : appId or redirect uri does not match authorization code or
    authorization code expired","error":"invalid_request"}</p>
  </blockquote>
  
  <p>Even after multilple validations, the same error messages appears.</p>
  
  <p>please help. thanks.</p>