Automatically Change Your Twitter Background
By user12607856 on Apr 03, 2009
As a follow-on to
cback.py script has been updated to automatically
send your newly generated random image to Twitter to become your
new background image. That functionality is not part of the "standard"
Twitter Python API
so many thanks to lucy for providing the magic necessary code
The new version of the script is here. Save it, then rename it to
You will also need
Before you use it, you will need to adjust the username and password lines
(about line 55) to be your valid user name and password.
Twitter is sometimes flaky in taking these images ("urllib2.HTTPError: HTTP Error 500: Internal Server Error"), but then again, I sometimes get similar problems when I try to change my background image from the Twitter Settings dialog.
cback.py script sometimes generates images greater than the
allowed size when used with the wallpaper option. I'll need to fix that.