A very rough simple Python (and Apple) script to take DMs from Twitter and add them to Things by Cultured Code
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
twitter-things.scpt
twitter-to-things.py

README.markdown

How to use

  1. Set up a Twitter account that's sole purpose is to receive DMs from you (in the future this could parse DMs on your actual account, but not for now). Follow it with your main account, and make sure it follows you.

  2. Edit twitter-to-things.py to include the username and password of this account.

  3. The default action is to add the todo to 'Today' with a tag of 'Twitter'. If you feel comfortable with Applescript, you can change this in the .scpt file. There's more you can do with Things and Applescript, Cultured Code have reference documentation.

  4. Add it to your crontab (crontab -e). Something like:

    */5 * * * * python ~/Downloads/Twitter-to-things/twitter-to-things.py

  5. Enjoy!

Bugs

  • Don't use speech marks (") in your tweets.
  • Probably millions.

Crontab mail

You will get a mail (internally on your Mac) whenever Twitter has a problem. I think you can fix this by piping the output of stderr and stdin to /dev/null, but I haven't tried it myself (yet).