org.mule.modules

mule-module-linkedin

1.0
Namespacehttp://www.mulesoft.org/schema/mule/linkedin
Schema Locationhttp://www.mulesoft.org/schema/mule/linkedin/1.0/mule-linkedin.xsd
Version1.0
Minimum Mule Version3.2

Module Overview

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.

Summary

Configuration
<linkedin:config>
Configure an instance of this module
Message Processors
<linkedin:delete-current-status>
Delete current status.
<linkedin:get-connections-by-id>
Gets the connections by id.
<linkedin:get-connections-by-url>
Gets the connections by url.
<linkedin:get-connections-for-current-user>
Gets the connections for current user.
<linkedin:get-network-update-comments>
Gets the network update comments.
<linkedin:get-network-update-likes>
Gets the network update likes.
<linkedin:get-network-updates>
Gets the network updates.
<linkedin:get-profile-by-id>
Gets the profile by id.
<linkedin:get-profile-by-url>
Gets the profile by url.
<linkedin:get-profile-for-current-user>
Gets the profile for current user.
<linkedin:get-user-updates>
Gets the network updates.
<linkedin:get-user-updates-by-id>
Gets the network updates.
<linkedin:like-post>
Like post.
<linkedin:post-comment>
Post comment.
<linkedin:post-network-update>
Post network update.
<linkedin:post-share>
Post share.
<linkedin:re-share>
Re-share.
<linkedin:search-people>
Search people.
<linkedin:search-people-with-facet-fields>
Search people.
<linkedin:search-people-with-facets>
Search people.
<linkedin:send-invite-by-email>
Send invite.
<linkedin:send-message>
Send message.
<linkedin:unlike-post>
Unlike post.
<linkedin:update-current-status>
Update current status.

Configuration

To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:

<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:linkedin="http://www.mulesoft.org/schema/mule/linkedin"
      xsi:schemaLocation="
               http://www.mulesoft.org/schema/mule/core
               http://www.mulesoft.org/schema/mule/core/current/mule.xsd
               http://www.mulesoft.org/schema/mule/linkedin
               http://www.mulesoft.org/schema/mule/linkedin/1.0/mule-linkedin.xsd">

      <!-- here goes your flows and configuration elements -->

</mule>

This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.

Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.

Attributes
TypeNameDefault ValueDescription
xs:string name Optional. Give a name to this configuration so it can be later referenced.
xs:string apiKey API Key
xs:string apiSecret API Secret

Message Processors

<linkedin:delete-current-status>

Delete current status. For details see http://developer.linkedin.com/docs/DOC-1007


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:get-connections-by-id>

Gets the connections by id. For details see http://developer.linkedin.com/docs/DOC-1004


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
id The id to search
profileFields Optional. The profile fields to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
modificationDate Optional. The modification date, if set modification type needs to be specified
modificationType Optional. The modification type, if set modification date needs to be specified
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the connections by id

<linkedin:get-connections-by-url>

Gets the connections by url. For details see http://developer.linkedin.com/docs/DOC-1004


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
url The url to search
profileFields Optional. The profile fields to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
modificationDate Optional. The modification date, if set modification type needs to be specified
modificationType Optional. The modification type, if set modification date needs to be specified
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the connections by url

<linkedin:get-connections-for-current-user>

Gets the connections for current user. For details see http://developer.linkedin.com/docs/DOC-1004


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
profileFields Optional. The profile fields to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
modificationDate Optional. The modification date, if set modification type needs to be specified
modificationType Optional. The modification type, if set modification date needs to be specified
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the connections for current user

<linkedin:get-network-update-comments>

Gets the network update comments. For details see http://developer.linkedin.com/docs/DOC-1043


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
networkUpdateId The network update id to search
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the network update comments

<linkedin:get-network-update-likes>

Gets the network update likes. For details see http://developer.linkedin.com/docs/DOC-1043


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
networkUpdateId The network update id to search
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the network update likes

<linkedin:get-network-updates>

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
updateTypes Optional. The update types to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
startDate Optional. The start date, if set end date needs to be specified
endDate Optional. The end date, if set start date needs to be specified
showHiddenMembers Optional. Whether to show hidden memberts
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the network updates

<linkedin:get-profile-by-id>

Gets the profile by id. For details see http://developer.linkedin.com/docs/DOC-1002


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
id The id to search
profileFields Optional. The profile fields to retrieve
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the profile by id

<linkedin:get-profile-by-url>

Gets the profile by url. For details see http://developer.linkedin.com/docs/DOC-1002


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
url The url to search
profileType The profile type to search
profileFields Optional. The profile fields to retrieve
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the profile by url

<linkedin:get-profile-for-current-user>

Gets the profile for current user. For details see http://developer.linkedin.com/docs/DOC-1002


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
profileFields Optional. The profile fields to retrieve
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the profile for current user

<linkedin:get-user-updates>

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
updateTypes Optional. The update types to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
startDate Optional. The start date, if set end date needs to be specified
endDate Optional. The end date, if set start date needs to be specified
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the network updates

<linkedin:get-user-updates-by-id>

Gets the network updates. For details see http://developer.linkedin.com/docs/DOC-1006


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
id The id to search
updateTypes Optional. The update types to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
startDate Optional. The start date, if set end date needs to be specified
endDate Optional. The end date, if set end date needs to be specified
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the network updates

<linkedin:like-post>

Like post. For details see http://developer.linkedin.com/docs/DOC-1043


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
networkUpdateId The network update id
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:post-comment>

Post comment. For details see http://developer.linkedin.com/docs/DOC-1043


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
networkUpdateId The network update id
commentText The comment text
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:post-network-update>

Post network update. For details see http://developer.linkedin.com/docs/DOC-1009


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
updateText The update text
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:post-share>

Post share. For details see http://developer.linkedin.com/docs/DOC-1212


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
commentText The comment text
title The title
url The url
imageUrl The image url
visibility The visibility
postToTwitter Optional. Whether to post to twitter
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:re-share>

Re-share. For details see http://developer.linkedin.com/docs/DOC-1212


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
shareId The share id
commentText The comment text
visibility The visibility
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:search-people>

Search people. For details see http://developer.linkedin.com/docs/DOC-1005


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
searchParameters Optional. The search parameters to use
profileFields Optional. The profile fields to retriee
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
sortOrder Optional. The sort order to use, defaults to RELEVANCE
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the people

<linkedin:search-people-with-facet-fields>

Search people. For details see http://developer.linkedin.com/docs/DOC-1005


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
searchParameters The search parameters
profileFields The profile fields to retrieve
facetFields The facet fields to use
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
sortOrder Optional. The sort order, defaults to RELEVANCE
facets Optional. The facets to use
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the people

<linkedin:search-people-with-facets>

Search people. For details see http://developer.linkedin.com/docs/DOC-1005


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
searchParameters The search parameters
profileFields Optional. The profile fields to retrieve
start Optional. The start, if set count needs to be specified
count Optional. The count, if set start needs to be specified
sortOrder Optional. The sort order to use, defaults to RELEVANCE
facets The facet type and a comma separated string with all the values
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements
Return Payload
  • the people

<linkedin:send-invite-by-email>

Send invite. For details see http://developer.linkedin.com/docs/DOC-1012


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
email The email
firstName The first name
lastName The last name
subject The subject
message The message
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:send-message>

Send message. For details see http://developer.linkedin.com/docs/DOC-1044


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
recepientIds The recepient ids
subject The subject
message The message
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:unlike-post>

Unlike post. For details see http://developer.linkedin.com/docs/DOC-1043


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
networkUpdateId The network update id
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements

<linkedin:update-current-status>

Update current status. For details see http://developer.linkedin.com/docs/DOC-1007


XML Sample
INCLUDE_ERROR

Attributes
config-ref Optional. Specify which configuration to use.
accessToken The access token to used as described by the OAuth 1.0a specification.
accessTokenSecret The access token secret to used as described by the OAuth 1.0a specification.
status The status
postToTwitter Optional. Whether to post the update to Twitter
retryMax 1 Optional. Specify how many times this operation can be retried automatically
Child Elements