diff --git a/app/jobs/tweets/publish_tweet_job.rb b/app/jobs/tweets/publish_tweet_job.rb index ead469e..c6b4141 100644 --- a/app/jobs/tweets/publish_tweet_job.rb +++ b/app/jobs/tweets/publish_tweet_job.rb @@ -11,6 +11,7 @@ def perform(discussion:) platforms.push 'twitter' if ENV['TWITTER_ENABLED'] platforms.push 'linkedin' if ENV['LINKEDIN_ENABLED'] platforms.push 'pinterest' if ENV['PINTEREST_ENABLED'] + platforms.push 'facebook' if ENV['FACEBOOK_ENABLED'] tweet_text = JSON.parse(tweet.stem)['tweet']