https://github.com/saswatamcode/python-twitterbot
This is a simple Twitter bot made using python, tweepy and Twitter API.
https://github.com/saswatamcode/python-twitterbot
Last synced: 9 months ago
JSON representation
This is a simple Twitter bot made using python, tweepy and Twitter API.
- Host: GitHub
- URL: https://github.com/saswatamcode/python-twitterbot
- Owner: saswatamcode
- Created: 2019-07-11T13:55:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-04T06:44:25.000Z (over 6 years ago)
- Last Synced: 2025-03-20T17:38:57.300Z (12 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://www.python.org/)
[](https://code.visualstudio.com/)
[](https://GitHub.com/saswatamcode/python-twitterbot/network/)
[](https://GitHub.com/saswatamcode/python-twitterbot/stargazers/)
[](https://GitHub.com/saswatamcode/python-twitterbot/issues/)
[](https://github.com/ellerbrock/open-source-badges/)
# python-twitterbot
This is a simple Twitter bot made using python, tweepy and Twitter API.
## Initial Steps:
- [Sign up](https://apps.twitter.com/) for Twitter api,create an app and retrieve your tokens.
- Make sure to change the twitterbot_credentials.py to your keys and tokens.
- Run ``` pip install tweepy ```
## How to run
To tweet something write the tweet(s) in tweet.txt and then run
```
python twitterbot.py
```
To automatically search for tweets with a particular hashtag, retweet, like and follow the user, edit the hashtag to your preference in twitterbot_retweet.py and then run
```
python twitterbot_retweet.py
```