ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
linkedin2name.php
Go to the documentation of this file.
1 <?php
2 $attributemap = array(
3 
4  // See http://developer.linkedin.com/docs/DOC-1061 for LinkedIn Profile fields.
5  // NB: JSON response requires the conversion of field names from hyphened to camelCase.
6  // For instance, first-name becomes firstName.
7 
8  // Generated LinkedIn Attributes
9  'linkedin_user' => 'eduPersonPrincipalName', // id @ linkedin.com
10  'linkedin_targetedID' => 'eduPersonTargetedID', // http://linkedin.com!id
11 
12  // Attributes Returned by LinkedIn
13  'linkedin.firstName' => 'givenName',
14  'linkedin.lastName' => 'sn',
15  'linkedin.id' => 'uid', // alpha + mixed case user id
16  'linkedin.headline' => 'title',
17  'linkedin.summary' => 'description',
18 );
$attributemap