Kamran Sarwar
Kamran Sarwar

Reputation: 11

Linkedin Profile Education and interests data from profile using REST API

$url = "https://api.linkedin.com/v1/people/~:(id,firstName,lastName,pictureUrls::(original),headline,publicProfileUrl,location,industry,positions,educations,email-address)?format=json&oauth2_access_token=" . $accessToken; $user = file_get_contents($url, FALSE);

I am using this URL to retrieve the profile information using Linkedin Oauth2 Rest API. The response is in JSON format. The problem is that only one experience record is showing and no education and interest record is showing. Kindly guide me how can I retrieve complete profile information from a Linkedin Profile.

Upvotes: 0

Views: 447

Answers (1)

s1mpl3
s1mpl3

Reputation: 1464

Notice that education and positions are going to return an object with '_total' and 'values'.

If you are looking for an array of educations or positions those are part of 'values'

Upvotes: 0

Related Questions