From 5f63187ca2edb5479a007d252870b7dac9220dfb Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 25 Jun 2009 01:24:49 -0400 Subject: [PATCH] Simple example of updating a profile image --- tango_examples/update_profile_image.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tango_examples/update_profile_image.py diff --git a/tango_examples/update_profile_image.py b/tango_examples/update_profile_image.py new file mode 100644 index 0000000..a6f52b2 --- /dev/null +++ b/tango_examples/update_profile_image.py @@ -0,0 +1,5 @@ +import tango + +# Instantiate Tango with Basic (HTTP) Authentication +twitter = tango.setup(authtype="Basic", username="example", password="example") +twitter.updateProfileImage("myImage.png")