submitShare: Share an update to your network's activity feed

Description Usage Arguments Details Value Author(s) See Also Examples

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

1
2
3
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

Rlinkedin documentation built on May 2, 2019, 12:59 a.m.