Reputation: 863
I want to implement "sign up using LinkedIn" functionality ,I followed this document and stuck at point b with this error instead of getting access token. https://developer.linkedin.com/documents/authentication
{
"error": "invalid_request",
"error_description": "missing required parameters, includes an invalid parameter value, parameter more then once. : client_id"
}
I want to fill user basic information in registration form e.g. firstname,lastname,email etc. I dont want to use javascript API,and need to go with REST API of linkedIn ,
Upvotes: 6
Views: 17882
Reputation: 139
This return a json file with the user info: https://api.linkedin.com/v1/people/~?oauth2_access_token=value&format=json
For a specify value: https://api.linkedin.com/v1/people/~:(firstName,lastName,picture-url)?oauth2_access_token=value&format=json
Upvotes: 11
Reputation: 425
Please refer the following,
http://www.bigcode.net/2013/08/linkedin-share-api-usage-using-oauth2.html
It has the details on using OAuth2 and accessing one of the api.
The code may be used for authentication. Once you are authenticated, you can use the Profile api mentioned here
http://developer.linkedin.com/documents/profile-api to get the profile details.
Upvotes: 3