post_status {rtoot} | R 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)
[Package rtoot version 0.3.4 Index]