Description Usage Arguments Value See Also Examples
This function retrieves the users that either +1ed or reshared a post. Google calls this 'list by activity'.
1 2 | harvestActivity(activity, kind = c("plusoners", "resharers"),
nextToken = NULL)
|
activity |
The post ID for which the users should be retrieved. |
kind |
Denoting the kind of person to be retrieved.
Either |
nextToken |
This is used internally to retrieve additional pages of answers from the Google+ API. Users won't need to set this argument. |
Returns a (character) vector of Google+ user IDs.
Google+ API documentation: https://developers.google.com/+/api/latest/people/listByActivity.
1 2 3 4 5 | ## Not run:
## User IDs of people that +1ed this post
users.p <- harvestActivity("z131ihvycs30ivrxm04cjbiwjkbqujka0sk0k", "plusoners")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.