post_thread {atrrr} | R Documentation |
Post a thread
Description
Post a thread
Usage
post_thread(
texts,
images = NULL,
image_alts = NULL,
thread_df = NULL,
verbose = NULL,
.token = NULL
)
Arguments
texts |
a vector of skeet (post) texts |
images |
paths to images to be included in each post |
image_alts |
alt texts for the images to be included in each post |
thread_df |
instead of defining texts, images and image_alts, you can also create a data frame with the information in columns of the same names. |
verbose |
Whether to print status messages to the Console
( |
.token |
If you manage your own tokens, you can supply it here. Usually
|
Value
list of the URIs and CIDs of the posts (invisible)
Examples
## Not run:
# post three messages in a thread
thread <- post_thread(c("Post 1", "Post 2", "Post 3"))
# delete the thread
delete_post(thread$uri)
## End(Not run)
[Package atrrr version 0.0.3 Index]