Get followers, followings or friends (the two-way relationship).
Source
user_followers()
wraps endpoint users/:id/followers.
user_following()
wraps endpoint users/:id/following.
user_friends()
wraps endpoint users/:id/friends.
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.- extended
character(1)
: Either"min"
(API default) or"full"
. The latter returns more variables and should generally only be used if required. Seevignette("finding-things")
for more details.
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.
Note
If the specified user is private, you need to be able to make an authenticated request and be friends with the user.
See also
Other user data:
user_collection()
,
user_comments()
,
user_history()
,
user_likes()
,
user_profile()
,
user_ratings()
,
user_stats()
,
user_watched()
,
user_watchlist()