Commit abba38c0 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Fixes to tutorial 1.

parent 4b1d884e
......@@ -16,3 +16,4 @@ during upgrade will be listed here.
+ Fixes
+ User.following is now set to False instead of None
when user is not followed.
+ python 2.5 import syntax error fixed
......@@ -13,3 +13,4 @@ Future...
+ rate limit governor
+ command line client example
+ retweet api [DONE BUT NEEDS TESTING]
+ async requests
......@@ -83,9 +83,9 @@ api_via_oath = tweepy.API(oauth_auth)
To make creating API instances a bit more easy you way use the
static method API.new() to create new instances. Here is an example:
"""
new_basic_api = tweepy.API.new(auth='basic', username, password)
new_oauth_api = tweepy.API.new(auth='oauth', consumer_key, consumer_secret)
new_oauth.api.auth_handler # here's how to access the auth handler to do the oauth flow
new_basic_api = tweepy.API.new('basic', username, password)
new_oauth_api = tweepy.API.new('oauth', consumer_key, consumer_secret)
new_oauth_api.auth_handler # here's how to access the auth handler to do the oauth flow
""" The End
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment