submitShare {Rlinkedin}R Documentation

Share an update to your network's activity feed

Description

submitShare will post a network update to the newsfeed of your connections. You can select the visibility of your post to be seen either by 'anyone' or 'connections-only'.

Usage

submitShare(token, comment = NULL, content_title = NULL,
  content_desc = NULL, content_url = NULL, content_img = NULL,
  visibility = "anyone")

Arguments

token

Authorization token.

comment

Headline of your post.

content_title

Title of your post.

content_desc

Description of your post.

content_url

Url to content you'd like to share. This is required if you specify either content_title or content_desc.

content_img

Url to an image you would like to include in your post, optional.

visibility

Choose the visibility of the post. The choices are 'anyone' or 'connections-only'.

Details

If either content_title or content_desc is specified, you must also include a content_url for the post.

Value

Shares an update to your networks's activity feed.

Author(s)

Michael Piccirilli michael.r.piccirilli@gmail.com

See Also

submitGroupPost

Examples

## Not run: 

comment <- "Test connecting to the LinkedIn API via R"
title <- "Im creating an R package to connect to the LinkedIn API, this is a test post from R!"
url <- "https://github.com/mpiccirilli"
desc <- "Dev version of access to LinkedIn API via R. Collaboration is welcomed!"

submitShare(token = in.auth, comment=comment, content_tile=title,
            content_url=url, content_desc=desc)

## End(Not run)

[Package Rlinkedin version 0.2 Index]