def oauth_login():
CONSUMER_KEY = "[your own key]"
CONSUMER_SECRET = "[your own secret]"
OAUTH_TOKEN = "[your own token]"
OAUTH_TOKEN_SECRET = "[your own secret]"
auth = twitter.oauth.OAuth(OAUTH_TOKEN, OAUTH_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET)
twitter_api = twitter.Twitter(auth = auth)
return twitter_api
twitter_oauth1.0.py 文件源码
python
阅读 15
收藏 0
点赞 0
评论 0
评论列表
文章目录