Skip to contents

Get items (comments, lists) a user likes

Usage

user_likes(type = c("comments", "lists"))

Source

user_likes() wraps endpoint /users/:id/likes/:type (Authentication required).

Arguments

type

character(1) ["comments"]: One of "comments", "lists".

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.

Examples

if (FALSE) {
# Get liked lists (only if there's a client secret set)
user_likes("lists")
}