Skip to content

Python script to watch submissions in a subreddit and if they pass criteria, repost them to a Facebook Page and Twitter

License

Notifications You must be signed in to change notification settings

kerray/RedditToTwitterAndFacebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit To Twitter And Facebook

This simple Python 3 script loads submissions from a subreddit, validates whether they pass some criteria (currently if they have enough upvotes or come from a list of pre-approved users), and posts these submissions to a Twitter account and a Facebook Page.

The list of submissions that were already processed resides in SQLite so that every submission gets posted just once.

It needs to be set up in a cron job to run periodically, and it also needs access tokens from Reddit, Twitter and Facebook to work.

Before runnning, copy config.default.py to config.py and either set up all the required tokens and values, or keep it as is and save the values in environment variables.

Package dependencies

About

Python script to watch submissions in a subreddit and if they pass criteria, repost them to a Facebook Page and Twitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages