Last chance! 50% off unlimited learning
Sale ends in
Obtains a paginated list of the comments' reactions.
get_comments_reactions(file_key, comment_id, cursor = NULL)
S3 object of class rigma_get_comments_reactions
. Contains the parsed
JSON response with fields reactions
, and pagination
.
string. The key that a Figma file is referred by.
string. The comment id.
string obtained from the result of the previous request, a cursor for pagination.
if (FALSE) { # Sys.getenv("FIGMA_ACCESS_TOKEN") != ""
if (FALSE) {
#navigate to file and get key from url
file_key <- "sFHgQh9dL6369o5wrZHmdR"
resp <- get_comments(file_key)
resp_reactions <- get_comments_reactions(file_key, resp$comments[[1]]$id)
}
}
Run the code above in your browser using DataLab