Skip to content

Commit

Permalink
Merge pull request leouofa#113 from realstorypro/facebook-cross-post
Browse files Browse the repository at this point in the history
added ability to cross-post to facebook
  • Loading branch information
Leonid Medovyy authored Jul 28, 2023
2 parents ab7e55c + 1ae77d3 commit 48dcd15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/tweets/publish_tweet_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down

0 comments on commit 48dcd15

Please sign in to comment.