Method to retrieve all comments for a given network update.
array
getComments
(string $key)
-
string
$key: update/update-key representing an update.
Method to get a particular member's current share.
array
getCurrentShare
([string $id = null], [string $url = null])
-
string
$id: Member id of the profile you want.
-
string
$url: The public profile URL.
Method to retrieve the complete list of people who liked an update.
array
getLikes
(string $key)
-
string
$key: update/update-key representing an update.
Method to get information about the current member's network.
array
getNetworkStats
()
Method to get the users network updates.
array
getNetworkUpdates
([string $id = null], [boolean $self = true], [mixed $type = null], [integer $count = 0], [integer $start = 0], [string $after = null], [string $before = null], [boolean $hidden = false])
-
string
$id: Member id.
-
boolean
$self: Used to return member's feed. Omitted to return aggregated network feed.
-
mixed
$type: String containing any valid Network Update Type from the table or an array of strings to specify more than one Network Update type.
-
integer
$count: Number of updates to return, with a maximum of 250.
-
integer
$start: The offset by which to start Network Update pagination.
-
string
$after: Timestamp after which to retrieve updates.
-
string
$before: Timestamp before which to retrieve updates.
-
boolean
$hidden: Whether to display updates from people the member has chosen to "hide" from their update stream.
Method to get a particular member's current share.
array
getShareStream
([string $id = null], [string $url = null], [boolean $self = true])
-
string
$id: Member id of the profile you want.
-
string
$url: The public profile URL.
-
boolean
$self: Used to return member's feed. Omitted to return aggregated network feed.
Method used to like an update.
array
like
(string $key)
-
string
$key: Update/update-key representing an update.
Method to post a new comment to an existing update.
array
postComment
(string $key, string $comment)
-
string
$key: update/update-key representing an update.
-
string
$comment: Maximum length of 700 characters
Method to get the users network updates.
array
postNetworkUpdate
(string $body)
-
string
$body: The actual content of the update. You can use HTML to include links to the user name and the content the user created. Other HTML tags are not supported. All body text should be HTML entity escaped and UTF-8 compliant.
Method to reshare an existing share.
array
reshare
(string $visibility, string $id, [string $comment = null], [boolean $twitter = false])
-
string
$visibility: One of anyone: all members or connections-only: connections only.
-
string
$id: The unique identifier for a share.
-
string
$comment: Text of member's comment.
-
boolean
$twitter: True to have LinkedIn pass the status message along to a member's tethered Twitter account.
Method to add a new share. Note: post must contain comment and/or (title and url).
array
share
(string $visibility, [string $comment = null], [string $title = null], [string $url = null], [string $image = null], [string $description = null], [boolean $twitter = false])
-
string
$visibility: One of anyone: all members or connections-only: connections only.
-
string
$comment: Text of member's comment.
-
string
$title: Title of shared document.
-
string
$url: URL for shared content.
-
string
$image: URL for image of shared content.
-
string
$description: Description of shared content.
-
boolean
$twitter: True to have LinkedIn pass the status message along to a member's tethered Twitter account.
Method used to unlike an update.
array
unlike
(string $key)
-
string
$key: Update/update-key representing an update.
Inherited Methods
Inherited From JLinkedinObject
JLinkedinObject::__construct()
JLinkedinObject::booleanToString()
JLinkedinObject::getOption()
JLinkedinObject::setOption()