Description Usage Arguments Details Value Author(s) See Also Examples
submitGroupPost
will create a group discussion post in one of the
groups you belong to, specified by a Group Id.
1 2 3 |
token |
Authorization token. |
group_id |
Numeric Group ID. |
disc_title |
Group discussion title, required. |
disc_summary |
Group discussion summary, required. |
content_title |
Title for content, required. |
content_url |
Url for content, optional. |
content_img |
Url for an image, optional. |
content_desc |
Description of content, optional. |
partner |
Indicate whether you belong to the Partnership Program. Values: 0 or 1 |
You must include a minimum of a discussion title, discussion summary, and content title.
There are two possible responses to a successful submittal.
One, your post has been created and is visibile immediately. In this case you have most likely posted to an unmoderated group.
Two, your post has been accepted by the API but is pending approval by the group moderator, in which case you will not see your post until it has bene approved.
Michael Piccirilli michael.r.piccirilli@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
my.groups <- getGroups(in.auth)
id <- my.groups$group_id[1]
disc.title <- "Test connecting to the LinkedIn API via R"
disc.summary <- "Im creating an R package to connect to the LinkedIn API,
+ this is a test post from R!"
url <- "https://github.com/mpiccirilli"
content.desc <- "Dev version of access to LinkedIn API via R.
+ Collaboration is welcomed!"
submitGroupPost(in.auth, group_id=id, disc_title=disc.title,
disc_summary=disc.summary, content_url=url, content_desc=content.desc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.