Click here to Skip to main content
15,923,197 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am struggling for integrate linked-in API with asp.net i getting the API key sec key authorization code but not getting the access token please tell me asap how i get the access token i try all the method passing the parameters i query string every time i getting the new authorize code and that code passing with query parameters

i am using this link for getting the authorization code is successfully getting the authorize code.
VB
https://www.linkedin.com/uas/oauth2/authorization?response_type=code
                                           &client_id=YOUR_API_KEY
                                           &scope=SCOPE
                                           &state=STATE
                                           &redirect_uri=YOUR_REDIRECT_URI


but when i use this url for getting the access token error 400 bad request or invalid parameters.

VB
https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code
                                           &code=AUTHORIZATION_CODE
                                           &redirect_uri=YOUR_REDIRECT_URI
                                           &client_id=YOUR_API_KEY
                                           &client_secret=YOUR_SECRET_KEY

kin dally tell me asap because i am working on it and complete within few days.
Posted
Updated 6-Feb-14 17:36pm
v2

1 solution

Refer the link , it already has solution for "400 bad request of access token in linkedin API"

error-while-getting-access-token[^]
 
Share this answer
 
Comments
Kamar Shahzad 7-Feb-14 1:10am    
Thanks for this information but i will try all that link no one is working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900