Description Usage Arguments Details Author(s) Examples
Returns a list of comments that match the API request parameters.
1 2 | getComments(token, part = "snippet", n = 50, max.results = 50, id,
parent.id, text.format = "html", verbose = FALSE)
|
token |
Your token as returned by |
part |
The part parameter specifies a comma-separated list of one or more activity
resource properties that the API response will include. The default value
is |
n |
Number of results to fecth. The default value is |
max.results |
Specifies the maximum number of results that should be returned
by each API call. Acceptable values are |
id |
Specifies a comma-separated list of comment IDs for the resources that are being retrieved. In a comment resource, specifies the comment's ID. |
parent.id |
Specifies the ID of the comment for which replies should be retrieved. Note: YouTube currently supports replies only for top-level comments. However, replies to replies may be supported in the future. |
text.format |
Indicates whether the API should return comments formatted as HTML
or as plain text. The default value is |
verbose |
If |
Must specify one (and only one) of id
or
parent.id
.
John Coene jcoenep@hotmail.com
1 2 3 4 5 6 | ## Not run:
# Authenticate
token <- youOAuth(client.id = "something.apps.googleusercontent.com",
client.secret = "XxxXX1XxXxXxxx1xxx1xxXXX")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.