From 55bca892d13ae1bcbb39ab2772f7d33634db8798 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 16 Jan 2020 14:12:12 +0200 Subject: [PATCH] Configure twitter api --- config/prod.exs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/prod.exs b/config/prod.exs index 4b69d6a2a..2e3aef84e 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -89,3 +89,10 @@ config :plausible, :google, config :plausible, Plausible.Mailer, adapter: Bamboo.PostmarkAdapter, api_key: System.get_env("POSTMARK_API_KEY") + +config :plausible, :twitter, [ + consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), + consumer_secret: System.get_env("TWITTER_CONSUMER_SECRET"), + token: System.get_env("TWITTER_ACCESS_TOKEN"), + token_secret: System.get_env("TWITTER_ACCESS_TOKEN_SECRET") +]