https://github.com/rhiever/reddit-twitter-bot
Looks up posts from reddit and automatically posts them on Twitter.
https://github.com/rhiever/reddit-twitter-bot
Last synced: 20 days ago
JSON representation
Looks up posts from reddit and automatically posts them on Twitter.
- Host: GitHub
- URL: https://github.com/rhiever/reddit-twitter-bot
- Owner: rhiever
- License: gpl-3.0
- Created: 2015-04-10T13:30:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T10:41:13.000Z (over 5 years ago)
- Last Synced: 2025-03-26T11:44:54.393Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 140
- Watchers: 11
- Forks: 38
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#reddit Twitter Bot
A Python bot that looks up posts from reddit and automatically posts them on Twitter.
##Disclaimer
I hold no liability for what you do with this script or what happens to you by using this script. Abusing this script *can* get you banned from Twitter, so make sure to read up on proper usage of the Twitter API.
##Dependencies
You will need to install Python's [tweepy](https://github.com/tweepy/tweepy) and [PRAW](https://praw.readthedocs.org/en/) libraries first:
pip install tweepy
pip install praw
You will also need to create an app account on Twitter: [[instructions]](https://dev.twitter.com/apps)1. Sign in with your Twitter account
2. Create a new app account
3. Modify the settings for that app account to allow read & write
4. Generate a new OAuth token with those permissions
5. Manually edit this script and put those tokens in the script##Usage
Once you edit the bot script to provide the necessary API keys and the subreddit you want to tweet from, you can run the bot on the command line:
python reddit_twitter_bot.py
Look into the script itself for configuration options of the bot.##Have questions? Need help with the bot?
If you're having issues with or have questions about the bot, please [file an issue](https://github.com/rhiever/reddit-twitter-bot/issues) in this repository so one of the project managers can get back to you. Please check the existing (and closed) issues to make sure your issue hasn't already been addressed.