View source: R/comments_trending.R
comments_trending | R Documentation |
Get trending or recently made comments
comments_trending(
comment_type = c("all", "reviews", "shouts"),
type = c("all", "movies", "shows", "seasons", "episodes", "lists"),
include_replies = FALSE,
limit = 10L
)
comments_recent(
comment_type = c("all", "reviews", "shouts"),
type = c("all", "movies", "shows", "seasons", "episodes", "lists"),
include_replies = FALSE,
limit = 10L
)
comment_type |
|
type |
|
include_replies |
|
limit |
|
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_trending()
wraps endpoint comments/trending/:comment_type/:type?include_replies=.
comments_recent()
wraps endpoint comments/recent/:comment_type/:type?include_replies=.
Other comment methods:
comments_comment()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
Other comment methods:
comments_comment()
,
comments_updates()
,
media_comments
,
user_comments()
,
user_list_comments()
## Not run:
# Trending reviews
comments_trending("reviews")
# Recent shouts (short comments)
comments_recent("shouts")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.