擅长:python、mysql、java
<p>你可以做一个“通行证”:</p>
<pre><code>import tweepy
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
my_api = tweepy.API(auth)
for id_str in big_list:
try:
all_tweets = get_all_tweets(id_str=id_str, api=my_api)
except Exception, e:
pass
</code></pre>