powered by
This function send a Slack message using its Webhooks.
slackSend(text, title = "", pretext = "", hook = NA, creds = NA)
Character. Content on you Slack message.
Character. Web hook URL. Ths value will be overwritten by creds if correctly used.
Character. Credential's dir (see get_creds()). Set hook URL into the "slack" list in your YML file. Will use first value.
get_creds()
Invisible POST response
For more help, you can follow the Sending messages using Incoming Webhooks original documentarion.
Other API: bring_api(), fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_posts(), fb_post(), fb_process(), fb_rf(), fb_token(), li_auth(), li_profile(), queryGA()
bring_api()
fb_accounts()
fb_ads()
fb_creatives()
fb_insights()
fb_posts()
fb_post()
fb_process()
fb_rf()
fb_token()
li_auth()
li_profile()
queryGA()
Other Credentials: db_download(), db_upload(), get_credentials(), get_tweets(), mail_send(), queryDB(), queryGA(), stocks_file(), stocks_report()
db_download()
db_upload()
get_credentials()
get_tweets()
mail_send()
queryDB()
stocks_file()
stocks_report()
# NOT RUN { slackSend(text = "This is a message", title = "TEST", pretext = Sys.info()["user"]) # }
Run the code above in your browser using DataLab