A Twitter Bot representing the persona 'Frank Grimes' from the well known TV Show "The Simpsons". While the content produced from the bot no longer necessarily represents Frank Grimes, it's still fun to see him pump out endless streams of garbage into the twittersphere
This repository represents a small project I developed with the help of the internet and peers to learn how to read and use API, code in python and roughly follow extended development of software through version tracking and other methods.
If you would like to run this twitter bot as your own I welcome you to do so, the code isn't exactly glorifying but I hope it can be of use to you all in trying to use the Twitter API. Note the twitter bot has not been maintained for some time so issues may exist.
- Acquire Twitter API Consumer Key/Secret and Access Key/Secret
- Make a Heroku Account and verify
- Set these in your environment variables on the machine you are running the code on
- Install the dependencies from the requirements.txt file
- Run twitterbot.py and the bot will walk through one "session"
- Designed to be run on Heroku with the Heroku Scheduler add-on (I personally used a daily schedule, but code can be changed to work for any time interval).
MIT License
Copyright (c) 2019 Jonathan Charles
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.