Created
October 27, 2010 17:17
-
-
Save waynemoore/649502 to your computer and use it in GitHub Desktop.
How to query a user's status using tweepy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) | |
auth.set_access_token(access_token_key, access_token_secret) | |
api = tweepy.API(auth) | |
user = api.get_user('twitter') | |
print user.status.text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment