View source: R/comments_comment.R
comments_comment | R Documentation |
Get a single comment
comments_comment(id, extended = c("min", "full"))
comments_replies(id, extended = c("min", "full"))
comments_likes(id, extended = c("min", "full"))
comments_item(id, extended = c("min", "full"))
id |
|
extended |
|
A tibble(). If the function has a limit
parameter
(defaulting to 10
), this will be the (maximum) number of rows of the tibble
.
If there are no results (or the API is unreachable), an empty tibble()
is returned.
comments_replies()
: Get a comment's replies
comments_likes()
: Get users who liked a comment.
comments_item()
: Get the media item attached to the comment.
comments_comment()
wraps endpoint comments/:id.
comments_replies()
wraps endpoint comments/:id/replies.
comments_likes()
wraps endpoint comments/:id/likes.
comments_item()
wraps endpoint comments/:id/item.
Other comment methods:
comments_trending()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
Other summary methods:
episodes_summary()
,
movies_summary()
,
people_summary()
,
seasons_summary()
,
shows_summary()
,
user_profile()
Other comment methods:
comments_trending()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
Other comment methods:
comments_trending()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
Other comment methods:
comments_trending()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
# A single comment
comments_comment("236397")
# Multiple comments
comments_comment(c("236397", "112561"))
## Not run:
comments_replies("236397")
## End(Not run)
## Not run:
comments_likes("236397")
## End(Not run)
## Not run:
# A movie
comments_item("236397")
comments_item("236397", extended = "full")
# A show
comments_item("120768")
comments_item("120768", extended = "full")
# A season
comments_item("140265")
comments_item("140265", extended = "full")
# An episode
comments_item("136632")
comments_item("136632", extended = "full")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.