Twitterbot
This the twitter bot for the laxdevtech account. @laxdevtech if you want to say hello!
setup
Things you will need locally if you want to develop or run your own version:
- Python 3
- Twython
- if you have
pip
package manager installed run$ pip install twython
- or easy install
$ easy_install twython
, if you’re on Mac or Linux. - otherwise check out the installation instructions for Twython
- if you have
- Twitter API keys you can follow this guide to get started
Note: You will need a phone number to get the API keys, if you don’t want to use your number you can use something like google voice and setup a second number.
getting started
note that
_config.yml
is configuration for github pages and is not needed for the twitterbot
- fork this repo ( click the view on github banner in the top right )
- clone onto your local machine
- Once you have your API keys add them to the
auth.py
file. - run your choosen file in your shell of choice or from the terminal.
you’re all set
You can read more about Twython’s extensive functionality here.
Happy tweeting!
licensed cc-by-sa Adam Harpur 2017