Hardik Bhalani
Hardik Bhalani

Reputation: 863

Get user profile using Oauth 2.0 from LinkedIn API

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

Answers (2)

SanS
SanS

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

Related Questions