From f53d1f678d3c7114646cbe7be0a6934275f34205 Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 13 Sep 2010 02:21:54 -0700 Subject: [PATCH] Migrated from timeline-access v3 --- Timeline-Access.textile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Timeline-Access.textile b/Timeline-Access.textile index 90bcf37..d1dba76 100644 --- a/Timeline-Access.textile +++ b/Timeline-Access.textile @@ -6,10 +6,10 @@ Returns the public timeline. This is easily one of the simplest methods for gett
 
-import tango
+import twython
 
 # Getting the public timeline requires no authentication, huzzah
-twitter = tango.setup()
+twitter = twython.setup()
 public_timeline = twitter.getPublicTimeline()
 
 for tweet in public_timeline:
@@ -29,10 +29,10 @@ Parameters:
 
 
 
-import tango
+import twython
 
 # Authenticate using Basic (HTTP) Authentication
-twitter = tango.setup(authtype="Basic", username="example", password="example")
+twitter = twython.setup(authtype="Basic", username="example", password="example")
 friends_timeline = twitter.getFriendsTimeline(count="150", page="3")
 
 for tweet in friends_timeline:
@@ -55,10 +55,10 @@ Parameters:
 
 
 
-import tango
+import twython
 
 # We won't authenticate for this, but sometimes it's necessary
-twitter = tango.setup()
+twitter = twython.setup()
 user_timeline = twitter.getUserTimeline(screen_name="ryanmcgrath")
 
 print user_timeline
@@ -77,9 +77,9 @@ Parameters:
 
 
 
-import tango
+import twython
 
-twitter = tango.setup(authtype="Basic", username="example", password="example")
+twitter = twython.setup(authtype="Basic", username="example", password="example")
 mentions = twitter.getUserMentions(count="150")
 
 print mentions