title: unable to retrieve access token linkedin api
body: <p>I am applying <code>connect with linkedin</code>. I'm following the <a href="https://code.google.com/p/simple-linkedinphp/wiki/QuickStart">step by step guide</a>. To authenticate users, I took help from <a href="https://developer.linkedin.com/documents/authentication">this</a>.</p>
  
  <p>When the user clicks the <code>connect with linkedin</code> button the user is taken to the linkedin login page. After the user has given access to the account the user is redirected to: </p>
  
  <pre><code>https://www.linkedin.com/uas/oauth2/authorization?response_type=code&amp;client_id=1ba8ogpm9e05&amp;scope=r_basicprofile%20r_emailaddress&amp;state=STATE&amp;redirect_uri=http://127.0.0.1:8088/sandbox/linkedin/test.php
  </code></pre>
  
  <p>Through this, I get the authorization code. And pass it in the following url </p>
  
  <pre><code>https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&amp;code=AUTHORIZATION_CODE&amp;redirect_uri=http://127.0.0.1:8088/sandbox/linkedin/final.php&amp;client_id=1ba8ogpm9e05&amp;client_secret=n7GN09I3F2L3IJD1
  </code></pre>
  
  <p>Here, the error comes i.e.</p>
  
  <pre><code>"error":"invalid_request","error_description":"missing required parameters, includes an invalid parameter value, parameter more then once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired"
  </code></pre>
  
  <p>Where am I going wrong? I have double checked my api key and secret key.</p>