Skip to content
litlfred edited this page Mar 30, 2012 · 2 revisions

Table of Contents

Dependency:

python-twitter whose source is found here:

 http://code.google.com/p/python-twitter/

the currently available package for ubuntu (0.6) does not support oAuth. see the bug:

 https://bugs.launchpad.net/ubuntu/+source/python-twitter/+bug/746850

and indicate that it affects you. in the meantime you can do:

 hg clone http://python-twitter.googlecode.com/hg/ python-twitter
 cd python-twitter
 hg update
 python setup.py build
 sudo python setup.py install

once the above bug is resolved you will be able to do instead:




Configuration:

Make the directory ~/.twitternotify and then copy the file config.py to it. For the configuration, you will need first create an app under your account:

 https://dev.twitter.com/apps/new

Next you need to get the access token (key) and secret following these instructions:

 https://dev.twitter.com/docs/auth/tokens-devtwittercom

Once you have the consumer and access tokens set them in the file ~/.twitternotify/config.py

Run:

From Run prompt or Session/start-up programs

 python twitter-notify.py

TODO:

  • Actual daemon properties
Clone this wiki locally