Get user profile using Oauth 2.0 from LinkedIn API

I want to implement the function "register using LinkedIn", I executed this document and got stuck at point b with this error, instead of getting an 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 out basic user information in the registration form, for example. first name, last name, email address, etc. I don't want to use the javascript API, and you need to go with the REST API associated in

+4
source share
2 answers

Please note the following:

http://www.bigcode.net/2013/08/linkedin-share-api-usage-using-oauth2.html

It contains information about using OAuth2 and accessing one of the api.

The code can be used for authentication. After authentication, you can use the api profile mentioned here.

http://developer.linkedin.com/documents/profile-api to get profile information.

+3
source

Source: https://habr.com/ru/post/1490711/


All Articles