From afba480a9d5467a0260f0e91779afd0ba60c4b2b Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 13 Sep 2010 02:22:00 -0700 Subject: [PATCH] Migrated from status-methods v9 --- Status-Methods.textile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Status-Methods.textile b/Status-Methods.textile index 7743bd5..3968e0a 100644 --- a/Status-Methods.textile +++ b/Status-Methods.textile @@ -16,7 +16,7 @@ Parameters import twython # Instantiate with Basic (HTTP) Authentication -twitter = twython.setup(authtype="Basic", username="example", password="example") +twitter = twython.core.setup(username="example", password="example") twitter.updateStatus("See how easy this was?") @@ -35,7 +35,7 @@ Parameters import twython # Instantiate with Basic (HTTP) Authentication -twitter = twython.setup(authtype="Basic", username="example", password="example") +twitter = twython.core.setup(username="example", password="example") twitter.destroyStatus("12344545") @@ -53,7 +53,7 @@ Parameters import twython # Instantiate with no Auth - Auth might be needed if user is protected -twitter = twython.setup() +twitter = twython.core.setup() status = twitter.showStatus("123") print status["text"]