post_status function

Perform actions on a status

Perform actions on a status

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

Returns

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)
  • Maintainer: David Schoch
  • License: MIT + file LICENSE
  • Last published: 2024-10-30