Get a user's comments
Source
user_comments()
wraps endpoint users/:id/comments/:comment_type/:type?include_replies=.
Arguments
- user
character(1)
: Target username (orslug
). Defaults togetOption("trakt_username")
. Can also be of length greater than 1, in which case the function is called on alluser
values separately and the result is combined.- comment_type
character(1) ["all"]
: The type of comment, one of "all", "reviews" or "shouts".- type
character(1) ["all"]
: The type of media to filter by, one of "all", "movies", "shows", "seasons", "episodes" or "lists".- include_replies
logical(1) [FALSE]
: Whether to include replies.
Value
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.
See also
Other user data:
user_collection()
,
user_history()
,
user_likes()
,
user_network()
,
user_profile()
,
user_ratings()
,
user_stats()
,
user_watched()
,
user_watchlist()
Other comment methods:
comments_comment()
,
comments_trending()
,
comments_updates()
,
media_comments
,
user_list_comments()