/Whitehouse-Signature-Tweeter

A script to grab signature data from a WhiteHouse.gov petition, store entries in a database, and send out a tweet as new folks sign.

Primary LanguagePython

Just a first trial.

##Instructions##

  1. Go to https://dev.twitter.com to make an app. Be sure to generate your oauth token after you change your app's permissions to read & write

  2. fill in details in config.py.bp and rename to config.py

  3. initialize the database

    $ ./dbstart.py
    
  4. Then run signature_tweeter.py to see it in action

    $ ./signature_tweeter.py
    
  5. Check out the resulting database by:

    $ sqlite3 signatures.db
    

Pretty nifty!

##Checkout:##