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 ,
Using the API for LinkedIn, you can get detailed information about LinkedIn groups based on the ID of the target groups. Below are some of the data you can get: ID, name, date of creation, logo, description, location, industries, etc. Learn more in the LinkedIn API documentation.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With