diff --git a/Timeline-Access.textile b/Timeline-Access.textile index d1dba76..ca99f1b 100644 --- a/Timeline-Access.textile +++ b/Timeline-Access.textile @@ -9,7 +9,7 @@ Returns the public timeline. This is easily one of the simplest methods for gett import twython # Getting the public timeline requires no authentication, huzzah -twitter = twython.setup() +twitter = twython.core.setup() public_timeline = twitter.getPublicTimeline() for tweet in public_timeline: @@ -32,7 +32,7 @@ Parameters: import twython # Authenticate using Basic (HTTP) Authentication -twitter = twython.setup(authtype="Basic", username="example", password="example") +twitter = twython.core.setup(username="example", password="example") friends_timeline = twitter.getFriendsTimeline(count="150", page="3") for tweet in friends_timeline: @@ -58,7 +58,7 @@ Parameters: import twython # We won't authenticate for this, but sometimes it's necessary -twitter = twython.setup() +twitter = twython.core.setup() user_timeline = twitter.getUserTimeline(screen_name="ryanmcgrath") print user_timeline @@ -79,7 +79,7 @@ Parameters: import twython -twitter = twython.setup(authtype="Basic", username="example", password="example") +twitter = twython.core.setup(username="example", password="example") mentions = twitter.getUserMentions(count="150") print mentions