mule integration with linkedin

7
Mule Integration with LinkedIn

Upload: praneethchampion

Post on 14-Jan-2017

179 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Mule integration with linkedin

Mule Integration with LinkedIn

Page 2: Mule integration with linkedin

1. Login to https://developer.linkedin.com/  which allows creating apps.2. Create an app by giving the valid details.

Page 3: Mule integration with linkedin

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.

Page 4: Mule integration with linkedin

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.

Page 7: Mule integration with linkedin

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