Class JLinkedinPeople
Linkedin API People class for the Joomla Platform.
-
JLinkedinObject
-
JLinkedinPeople
Methods summary
public
array
|
#
getProfile( string $id = null, string $url = null, string $fields = null, string $type = 'standard', string $language = null )
Method to get a member's profile.
Method to get a member's profile.
Parameters
- $id
string - $id Member id of the profile you want.
- $url
string - $url The public profile URL.
- $fields
string - $fields Request fields beyond the default ones.
- $type
string - $type Choosing public or standard profile.
- $language
string - $language A comma separated list of locales ordered from highest to lowest
preference.
Returns
array - The decoded JSON response
Since
13.1
|
public
array
|
#
getConnections( string $fields = null, integer $start = 0, integer $count = 500, string $modified = null, string $modified_since = null )
Method to get a list of connections for a user who has granted access to
his/her account.
Method to get a list of connections for a user who has granted access to
his/her account.
Parameters
- $fields
string - $fields Request fields beyond the default ones.
- $start
integer - $start Starting location within the result set for paginated returns.
- $count
integer - $count The number of results returned.
- $modified
string - $modified Values are updated or new.
- $modified_since
string - $modified_since Value as a Unix time stamp of milliseconds since epoch.
Returns
array - The decoded JSON response
Since
13.1
|
public
array
|
#
search( string $fields = null, string $keywords = null, string $first_name = null, string $last_name = null, string $company_name = null, boolean $current_company = null, string $title = null, boolean $current_title = null, string $school_name = null, string $current_school = null, string $country_code = null, integer $postal_code = null, integer $distance = null, string $facets = null, array $facet = null, integer $start = 0, integer $count = 10, string $sort = null )
Method to get information about people.
Method to get information about people.
Parameters
- $fields
string - $fields Request fields beyond the default ones. provide
'api-standard-profile-request' field for out of network profiles.
- $keywords
string - $keywords Members who have all the keywords anywhere in their profile.
- $first_name
string - $first_name Members with a matching first name. Matches must be exact.
- $last_name
string - $last_name Members with a matching last name. Matches must be exactly.
- $company_name
string - $company_name Members who have a matching company name on their profile.
- $current_company
boolean - $current_company A value of true matches members who currently work at the
company specified in the company-name parameter.
- $title
string - $title Matches members with that title on their profile.
- $current_title
boolean - $current_title A value of true matches members whose title is currently the one
specified in the title-name parameter.
- $school_name
string - $school_name Members who have a matching school name on their profile.
- $current_school
string - $current_school A value of true matches members who currently attend the school
specified in the school-name parameter.
- $country_code
string - $country_code Matches members with a location in a specific country. Values are
defined in by ISO 3166 standard. Country codes must be in all lower case.
- $postal_code
integer - $postal_code Matches members centered around a Postal Code. Must be combined
with the country-code parameter. Not supported for all countries.
- $distance
integer - $distance Matches members within a distance from a central point. This is
measured in miles.
- $facets
string - $facets Facet buckets to return, e.g. location.
- $facet
array - $facet Array of facet values to search over. Contains values for location,
industry, network, language, current-company, past-company and school, in
exactly this order, null must be specified for an element if no value.
- $start
integer - $start Starting location within the result set for paginated returns.
- $count
integer - $count The number of results returned.
- $sort
string - $sort Controls the search result order. There are four options: connections,
recommenders, distance and relevance.
Returns
array - The decoded JSON response
Since
13.1
|
__construct()
,
booleanToString()
,
getOption()
,
setOption()
Magic methods summary
Properties summary
$client
,
$oauth
,
$options