Personal repo: just playing and trying to automate some social media interactions.
Add in .Renviron
R_TELEGRAM_BOT_yournameBot=**key**
bot.name: "telegram_name_bot"
chat.id: id_groupchat_to_listen
chat.home: id_groupchat_to_post
patternLvl1: "http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
patternLvl2: "http[s]?://(www.youtube.com|m.youtube.com|youtu.be)/watch.*"
consumer_key: "consumer_key"
consumer_secret: "consumer_secret"
access_token: "access_token"
access_token_secret: "access_token_secret"
path: inst/extdata/telegram_id.rds
You will need to install dependencies before build. Just install what it says on warning and error messages until it build.
git clone https://github.com/humbertcostas/secretary.git
R CMD build secretary
R CMD INSTALL --library=/your/lib/R/path secretary_0.0.3.tar.gz
cd secretary
./example.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.