post_status: Perform actions on a status

View source: R/post.R

post_statusR Documentation

Perform actions on a status

Description

Perform actions on a status

Usage

post_status(id, action = "favourite", token = NULL, verbose = TRUE)

Arguments

id

character, status id to perform the action on

action

character, one of "(un)favourite","(un)reblog","(un)bookmark"

token

user bearer token (read from file by default)

verbose

logical whether to display messages

Value

no return value, called for site effects

Examples

## Not run: 
# favourite a status
post_status("xxxxxx", action = "favourite")
# unfavourite a status
post_status("xxxxxx", action = "unfavourite")

## End(Not run)

rtoot documentation built on May 29, 2024, 2:14 a.m.