From 5a890f98b1df51b153e6293a830d89c1719a1621 Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 13 Sep 2010 02:21:36 -0700 Subject: [PATCH] Migrated from overview-intro v2 --- Overview-(Intro).textile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Overview-(Intro).textile b/Overview-(Intro).textile index 53b1368..ebf1035 100644 --- a/Overview-(Intro).textile +++ b/Overview-(Intro).textile @@ -19,5 +19,8 @@ twitter = tango.setup(authtype="Basic", username="example", password="example") # Using OAuth Authentication (Note: OAuth is the default, specify Basic if needed) auth_keys = {"consumer_key": "yourconsumerkey", "consumer_secret": "yourconsumersecret"} twitter = tango.setup(username="example", password="example", oauth_keys=auth_keys) + +# Using Basic Authentication and adding custom HTTP Headers +twitter = tango.setup(authtype="Basic", username="example", password="example", headers="your_headers_here") \ No newline at end of file