2 Ekim 2013 Çarşamba

How to fix tweepy reauth "Unable to get username, invalid oauth token" problem.

 
                    access_key  = #user access token
                    access_secret = #user access secret
                    oauth = tweepy.OAuthHandler(#consumer_key, #consumer_secret)
                    oauth.set_access_token(access_key, access_secret)
                    api = tweepy.API(oauth)
                    try:
                        user = api.me()
                    except tweepy.TweepError:
                         #token problem here

Yasin aktimur

Hiç yorum yok:

Yorum Gönder