pip install twython python from twython import Twython consumer_key = 'YOUR_CONSUMER_KEY' consumer_secret = 'YOUR_CONSUMER_SECRET' access_token = 'YOUR_ACCESS_TOKEN' access_token_secret = 'YOUR_ACCESS_TOKEN_SECRET' twitter = Twython(consumer_key, consumer_secret, access_token, access_token_secret) tweet = "Hello, Twython library is awesome!" twitter.update_status(tweet)


上一篇:
下一篇: