Post a skeet
post(
text,
in_reply_to = NULL,
quote = NULL,
image = NULL,
image_alt = NULL,
video = NULL,
link = NULL,
created_at = Sys.time(),
labels = NULL,
langs = NULL,
tags = NULL,
preview_card = TRUE,
verbose = NULL,
.token = NULL
)post_skeet(
text,
in_reply_to = NULL,
quote = NULL,
image = NULL,
image_alt = NULL,
video = NULL,
link = NULL,
created_at = Sys.time(),
labels = NULL,
langs = NULL,
tags = NULL,
preview_card = TRUE,
verbose = NULL,
.token = NULL
)
delete_skeet(post_url, verbose = NULL, .token = NULL)
delete_post(post_url, verbose = NULL, .token = NULL)
list of the URI and CID of the post (invisible)
Text to post
URL or URI of a skeet this should reply to.
URL or URI of a skeet this should quote.
path to an image or video to post.
alt text for the image.
instead of adding a link in text (gets parsed automatically), it's also possible to add a link directly (and save some characters).
time stamp of the post.
can be used to label a post, for example "!no-unauthenticated", "porn", "sexual", "nudity", or "graphic-media".
indicates human language(s) (up to 3) of post's primary text content.
additional hashtags, in addition to any included in post text and facets.
display a preview card for links included in the text
or link
(if images or videos are included, they take precedence).
Whether to print status messages to the Console
(TRUE
/FALSE
). Package default (when NULL
) is to have
status messages. Can be changed with Sys.setenv(ATR_VERBOSE =
FALSE)
.
If you manage your own tokens, you can supply it here. Usually
NULL
is OK and will automatically load or guide you to generate a
token.
URL or URI of post to delete.
if (FALSE) {
post("Hello from #rstats with {atrrr}")
}
Run the code above in your browser using DataLab