bs_new_embed_external: Embed external media in a post

View source: R/embed_external.R

bs_new_embed_externalR Documentation

Embed external media in a post

Description

Embeds are not designed as standalone records, but rather as part of a post. This will create a list representation of an external embed.

Usage

bs_new_embed_external(
  uri,
  title,
  description,
  thumb,
  user = get_bluesky_user(),
  pass = get_bluesky_pass(),
  auth = bs_auth(user, pass)
)

Arguments

uri

a link to embed

title

the title for the link

description

a description of the link

thumb

Optional. A thumbnail for the link

user

Character. User name to log in with. Defaults to get_bluesky_user().

pass

Character. App password to log in with. Defaults to get_bluesky_pass().

auth

Authentication information. Defaults to bs_auth(user, pass).

Value

a list representation of an external embed

Lexicon references

embed/external.json (2024-12-05)

Function introduced

v0.2.0 (2024-12-05)

Examples


bs_new_embed_external(
  uri = 'https://christophertkenny.com/bskyr/',
  title = 'Interact with Bluesky Social',
  description = 'An R package for using Bluesky Social'
)

bs_new_embed_external(
  uri = 'https://christophertkenny.com/bskyr/'
)


bskyr documentation built on June 8, 2025, 10:33 a.m.