java.lang.Object | |
↳ | org.mule.module.linkedin.LinkedInConnector |
Known Direct Subclasses |
Known Indirect Subclasses |
LinkedIn is a business-related social networking site. Founded in December 2002 and launched in May 2003, it is mainly used for professional networking. This connector allows you to interact with LinkedIn API.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
accessToken | |||||||||||
accessTokenSecret | |||||||||||
apiKey | API Key | ||||||||||
apiSecret | API Secret | ||||||||||
client | |||||||||||
scope | LinkedIn permissions |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the connections by id.
| |||||||||||
Gets the connections by url.
| |||||||||||
Gets the connections for current user.
| |||||||||||
Gets the network update comments.
| |||||||||||
Gets the network update likes.
| |||||||||||
Gets the network updates.
| |||||||||||
Gets the profile by id.
| |||||||||||
Gets the profile by url.
| |||||||||||
Gets the profile for current user.
| |||||||||||
Gets the network updates.
| |||||||||||
Gets the network updates.
| |||||||||||
Like post.
| |||||||||||
Post comment.
| |||||||||||
Post network update.
| |||||||||||
Post share.
| |||||||||||
Re-share.
| |||||||||||
Search people.
| |||||||||||
Search people.
| |||||||||||
Search people.
| |||||||||||
Send invite.
| |||||||||||
Send message.
| |||||||||||
Unlike post.
| |||||||||||
Update current status.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
API Key
API Secret
LinkedIn permissions
Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004
String accessToken = ... String accessTokenSecret = ... String id = ... List<ProfileField> profileFields = ... Integer start = ... Integer count = ... Date modificationDate = ... ConnectionModificationType modificationType = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getConnectionsById(accessToken, accessTokenSecret, id, profileFields, start, count, modificationDate, modificationType);
id | The id to search |
---|---|
profileFields | The profile fields to retrieve |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
modificationDate | The modification date, if set modification type needs to be specified |
modificationType | The modification type, if set modification date needs to be specified |
Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004
String accessToken = ... String accessTokenSecret = ... String url = ... List<ProfileField> profileFields = ... Integer start = ... Integer count = ... Date modificationDate = ... ConnectionModificationType modificationType = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getConnectionsByUrl(accessToken, accessTokenSecret, url, profileFields, start, count, modificationDate, modificationType);
url | The url to search |
---|---|
profileFields | The profile fields to retrieve |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
modificationDate | The modification date, if set modification type needs to be specified |
modificationType | The modification type, if set modification date needs to be specified |
Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004
String accessToken = ... String accessTokenSecret = ... List<ProfileField> profileFields = ... Integer start = ... Integer count = ... Date modificationDate = ... ConnectionModificationType modificationType = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getConnectionsForCurrentUser(accessToken, accessTokenSecret, profileFields, start, count, modificationDate, modificationType);
profileFields | The profile fields to retrieve |
---|---|
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
modificationDate | The modification date, if set modification type needs to be specified |
modificationType | The modification type, if set modification date needs to be specified |
Gets the network update comments. For details see http://developer.linkedin.com/docs/DOC-1043
String accessToken = ... String accessTokenSecret = ... String networkUpdateId = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getNetworkUpdateComments(accessToken, accessTokenSecret, networkUpdateId);
networkUpdateId | The network update id to search |
---|
Gets the network update likes. For details see http://developer.linkedin.com/docs/DOC-1043
String accessToken = ... String accessTokenSecret = ... String networkUpdateId = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getNetworkUpdateLikes(accessToken, accessTokenSecret, networkUpdateId);
networkUpdateId | The network update id to search |
---|
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006
String accessToken = ... String accessTokenSecret = .. List<NetworkUpdateType> updateTypes = ... Integer start = ... Integer count = ... Date startDate = ... Date endDate = ... Boolean showHiddenMembers LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getNetworkUpdates(accessToken, accessTokenSecret, updateTypes, start, count, startDate, endDate, showHiddenMembers);
updateTypes | The update types to retrieve |
---|---|
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
startDate | The start date, if set end date needs to be specified |
endDate | The end date, if set start date needs to be specified |
showHiddenMembers | Whether to show hidden memberts |
Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002
String accessToken = ... String accessTokenSecret = .. String id = ... List<ProfileField> profileFields = ... LinkedInConnector linkedin = new LinkedInConnector(); Person response = linkedin.getProfileById(accessToken, accessTokenSecret, id, profileFields);
id | The id to search |
---|---|
profileFields | The profile fields to retrieve |
Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002
String accessToken = ... String accessTokenSecret = .. String url = ... ProfileType profileType = ... List<ProfileField> profileFields = ... LinkedInConnector linkedin = new LinkedInConnector(); Person response = linkedin.getProfileByUrl(accessToken, accessTokenSecret, url, profileType, profileFields);
url | The url to search |
---|---|
profileType | The profile type to search |
profileFields | The profile fields to retrieve |
Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002
String accessToken = ... String accessTokenSecret = ... List<ProfileField> profileFields = ... LinkedInConnector linkedin = new LinkedInConnector(); Person response = linkedin.getProfileForCurrentUser(accessToken, accessTokenSecret, profileFields);
profileFields | The profile fields to retrieve |
---|
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006
String accessToken = ... String accessTokenSecret = ... List<NetworkUpdateType> updateTypes = ... Integer start = ... Integer count = ... Date startDate = ... Date endDate = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getUserUpdates(accessToken, accessTokenSecret, updateTypes, start, count, startDate, endDate);
updateTypes | The update types to retrieve |
---|---|
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
startDate | The start date, if set end date needs to be specified |
endDate | The end date, if set start date needs to be specified |
Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006
String accessToken = ... String accessTokenSecret = ... String id = ... List<NetworkUpdateType> updateTypes = ... Integer start = ... Integer count = ... Date startDate = ... Date endDate = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.getUserUpdatesById(accessToken, accessTokenSecret, id, updateTypes, start, count, startDate, endDate);
id | The id to search |
---|---|
updateTypes | The update types to retrieve |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
startDate | The start date, if set end date needs to be specified |
endDate | The end date, if set end date needs to be specified |
Like post. For details see http://developer.linkedin.com/docs/DOC-1043
String accessToken = ... String accessTokenSecret = ... String networkUpdateId = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.likePost(accessToken, accessTokenSecret, networkUpdateId);
networkUpdateId | The network update id |
---|
Post comment. For details see http://developer.linkedin.com/docs/DOC-1043
String accessToken = ... String accessTokenSecret = ... String networkUpdateId = ... String commentText = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.postComment(accessToken, accessTokenSecret, networkUpdateId, commentText);
networkUpdateId | The network update id |
---|---|
commentText | The comment text |
Post network update. For details see http://developer.linkedin.com/docs/DOC-1009
String accessToken = ... String accessTokenSecret = ... String updateText = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.postNetworkUpdate(accessToken, accessTokenSecret, updateText);
updateText | The update text |
---|
Post share. For details see http://developer.linkedin.com/docs/DOC-1212
String accessToken = ... String accessTokenSecret = ... String commentText = ... String title = ... String url = ..., String imageUrl = ... VisibilityType visibility = ... Boolean postToTwitter = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.postShare(accessToken, accessTokenSecret, commentText, title, url, imageUrl, visibility, postToTwitter);
commentText | The comment text |
---|---|
title | The title |
url | The url |
imageUrl | The image url |
visibility | The visibility |
postToTwitter | Whether to post to twitter |
Re-share. For details see http://developer.linkedin.com/docs/DOC-1212
String accessToken = ... String accessTokenSecret = ... String shareId = ... String commentText = ... VisibilityType visibility = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.reShare(accessToken, accessTokenSecret, shareId, commentText, visibility);
shareId | The share id |
---|---|
commentText | The comment text |
visibility | The visibility |
Search people. For details see http://developer.linkedin.com/docs/DOC-1005
String accessToken = ... String accessTokenSecret = ... Map<SearchParameter, String> searchParameters = ... List<ProfileField> profileFields = ... Integer start = ... Integer count = ... SearchSortOrder sortOrder = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.searchPeople(accessToken, accessTokenSecret, searchParameters, profileFields, start, count, sortOrder);
searchParameters | The search parameters to use |
---|---|
profileFields | The profile fields to retriee |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
sortOrder | The sort order to use, defaults to RELEVANCE |
Search people. For details see http://developer.linkedin.com/docs/DOC-1005
String accessToken = ... String accessTokenSecret = ... Map<SearchParameter, String> searchParameters = ... List<ProfileField> profileFields = ... List<FacetField> facetFields = ... Integer start = ... Integer count = ... SearchSortOrder sortOrder = Map<FacetType, String> facets = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.searchPeopleWithFacetFields(accessToken, accessTokenSecret, searchParameters, profileFields, facetFields, start, count, sortOrder, facets);
searchParameters | The search parameters |
---|---|
profileFields | The profile fields to retrieve |
facetFields | The facet fields to use |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
sortOrder | The sort order, defaults to RELEVANCE |
facets | The facets to use |
Search people. For details see http://developer.linkedin.com/docs/DOC-1005
String accessToken = ... String accessTokenSecret = ... Map<SearchParameter, String> searchParameters = ... List<ProfileField> profileFields = ... Integer start = ... Integer count = ... SearchSortOrder sortOrder = Map<FacetType, String> facets = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.searchPeopleWithFacets(accessToken, accessTokenSecret, searchParameters, profileFields, start, count, sortOrder, facets));
searchParameters | The search parameters |
---|---|
profileFields | The profile fields to retrieve |
start | The start, if set count needs to be specified |
count | The count, if set start needs to be specified |
sortOrder | The sort order to use, defaults to RELEVANCE |
facets | The facet type and a comma separated string with all the values |
Send invite. For details see http://developer.linkedin.com/docs/DOC-1012
String accessToken = ... String accessTokenSecret = ... String email = ... String firstName = ... String lastName = ... String subject = ... String message = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.sendInviteByEmail(accessToken, accessTokenSecret, email, firstName, lastName, subject, message);
The email | |
firstName | The first name |
lastName | The last name |
subject | The subject |
message | The message |
Send message. For details see http://developer.linkedin.com/docs/DOC-1044
String accessToken = ... String accessTokenSecret = ... List<String> recepientIds = ... String subject = ... String message = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.sendMessage(accessToken, accessTokenSecret, recepientIds, subject, message);
recepientIds | The recepient ids |
---|---|
subject | The subject |
message | The message |
accessToken |
---|
accessTockenSecret |
---|
apiKey |
---|
apiSecret |
---|
scope |
---|
Unlike post. For details see http://developer.linkedin.com/docs/DOC-1043
String accessToken = ... String accessTokenSecret = ... String networkUpdateId = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.unlikePost(accessToken, accessTokenSecret, networkUpdateId);
networkUpdateId | The network update id |
---|
Update current status. For details see http://developer.linkedin.com/docs/DOC-1007
String accessToken = ... String accessTokenSecret = ... String status = ... Boolean postToTwitter = ... LinkedInConnector linkedin = new LinkedInConnector(); Object response = linkedin.updateCurrentStatus(accessToken, accessTokenSecret, status, postToTwitter);
status | The status |
---|---|
postToTwitter | Whether to post the update to Twitter |