2. 1. Login to https://developer.linkedin.com/ which allows creating apps.
2. Create an app by giving the valid details.
3. 3. Client ID, Client Secret keys will be generated. Those will be used as API Key and
API Secret key in LinkedIn.
a. OAuth 2.0 URL is for authentication process which will fetch the accessToken
from LinkedIn.
b. The URL must be same as the one defined in the LinkedIn Connector OAuth.
4. 4. As the LinkedIn restricted the access for
developers. We can only use the AUTHORIZE, GET
PROFILE BY URL operations using the LinkedIn
Connector.
5. Now I implemented a flow to first authorize
and gets the AccessToken and OAuthVerifier.
6. Next I am performing the GetProgileByURL to
get a specific user details by giving their LinkedIn
URL.
7. Sample Output:
1. Run the http://localhost:8081/auth
2. It will redirects to the page the LinkedIn REST API page. In that USERNAME and PASSWORD
need to be entered.
3. Run the URL http://localhost:8081/getprofile