# https://github.com/schochastics/rtoot
# devtools::install_github("schochastics/rtoot")
# rtoot::auth_setup()
::post_toot(status = "my first rtoot #rstats\n
rtoot (published with the rtoot package: https://github.com/schochastics/rtoot)",
media = "mastodon-logo.png",
alt_text = "Mastodon logo")
Social Networking with the Mastodon API in R
news
code
analysis
I recently created a Fosstodon account to engage with the #rstats community there. So it seemed only natural to use rtoot
(spiritual successor to rtweet
) to publish my first “toot”:
It worked!
A Mastodon thread could be published using Quarto and custom knitr
hooks. Here is an example using rtweet
– I will try to translate this to use rtoot
instead.