2

我正在使用此代码。在我在代码中包含 print tweepy 之前,GAE 上的页面返回为空白;没有错误,或任何东西。它从命令行运行良好。为什么会发生这种情况?有没有更好的方法来完成这项工作?

import tweepy
print tweepy

CONSUMER_KEY = "mine"
CONSUMER_SECRET = "mine"

auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)

try:
    print auth.get_authorization_url()
except Exception,e: print str(e)
4

0 回答 0