post_status | R Documentation |
Perform actions on a status
post_status(id, action = "favourite", token = NULL, verbose = TRUE)
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 |
no return value, called for site effects
## Not run:
# favourite a status
post_status("xxxxxx", action = "favourite")
# unfavourite a status
post_status("xxxxxx", action = "unfavourite")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.