"LinkedIn" (Service Connection)

Connect your LinkedIn account to the Wolfram Language to retrieve your LinkedIn profile data. Also post messages directly from the Wolfram Language.

Connecting & Authenticating

    ServiceConnect["LinkedIn"] creates a connection to the LinkedIn API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.

Requests

    ServiceExecute["LinkedIn","request",params] sends a request to the LinkedIn API, using parameters params. The following give possible requests.

    User Data

    Requests:

    "UserData" data about the specified user's account

    Posting

    "Share" share a message

    Parameters:
  • "Message"(required)message to share
    "Visibility""Anyone"who can see the message

Parameter Details

    The parameter "Message" also supports an Association with the following entries:
  • "URL"(required)URL of the content being shared
    "Comment"Nonecomment associated with the content being shared up to 700 characters
    "Title"Nonetitle up to 200 characters
    "ThumbnailURL"NoneURL for the content's thumbnail
  • Possible values for "Visibility" include:
  • "Anyone"shared with anyone with a LinkedIn account
    "ConnectionsOnly"shared with your connections

Examples

Basic Examples  (1)

Create a connection by launching an authentication dialog:

In[1]:=
Click for copyable input
Out[1]=

Get profile information about the authenticated user:

In[2]:=
Click for copyable input
Out[2]=

Share a simple message to the authenticated user's account:

In[3]:=
Click for copyable input
Out[3]=

Share web content, customizing the title, comment and thumbnail:

In[4]:=
Click for copyable input
Out[4]=

See Also

ServiceExecute  ▪  ServiceConnect  ▪  SendMessage  ▪  Twitter  ▪  GooglePlus  ▪  LinkedIn