bs_post {bskyr} | R Documentation |
Make a post on Bluesky Social
Description
Make a post on Bluesky Social
Usage
bs_post(
text,
images,
images_alt,
langs,
reply,
quote,
user = get_bluesky_user(),
pass = get_bluesky_pass(),
auth = bs_auth(user, pass),
clean = TRUE
)
Arguments
text |
text of post |
images |
character vector of paths to images to attach to post |
images_alt |
character vector of alt text for images. Must be same length as |
langs |
character vector of languages in BCP-47 format |
reply |
character vector with link to the parent post to reply to |
quote |
character vector with link to a post to quote |
user |
Character. User name to log in with. Defaults to |
pass |
Character. App password to log in with. Defaults to |
auth |
Authentication information. Defaults to |
clean |
Logical. Should output be cleaned into a |
Value
a tibble::tibble of post information
Lexicon references
feed/post.json (2023-10-02) repo/createRecord.json (2023-10-02)
Function introduced
v0.0.1
(2023-10-02)
Examples
bs_post('Test post from R CMD Check for r package `bskyr`
via @bskyr.bsky.social (https://christophertkenny.com/bskyr/)')
bs_post('Test self-reply from r package `bskyr`
via @bskyr.bsky.social (https://christophertkenny.com/bskyr/)',
reply = 'https://bsky.app/profile/bskyr.bsky.social/post/3kexwuoyqj32g')
bs_post('Test quoting from r package `bskyr`
via @bskyr.bsky.social (https://christophertkenny.com/bskyr/)',
quote = 'https://bsky.app/profile/bskyr.bsky.social/post/3kf24wd6cmb2a')
bs_post('Test quote and reply from r package `bskyr`
via @bskyr.bsky.social (https://christophertkenny.com/bskyr/)',
reply = 'https://bsky.app/profile/bskyr.bsky.social/post/3kexwuoyqj32g',
quote = 'https://bsky.app/profile/bskyr.bsky.social/post/3kf24wd6cmb2a')
[Package bskyr version 0.1.2 Index]