title: How to get large list of followers Tweepy
body: <p>I'm trying to use Tweepy to get the full list of followers from an account with like 500k followers, and I have a code that gives me the usernames for smaller accounts, like under 100, but if I get one that's even like 110 followers, it doesn't work. Any help figuring out how to make it work with larger numbers is greatly appreciated!</p>
  
  <p>Here's the code I have right now:</p>
  
  <pre><code>import tweepy
  import time
  
  key1 = "..."
  key2 = "..."
  key3 = "..."
  key4 = "..."
  
  accountvar = raw_input("Account name: ")
  
  auth = tweepy.OAuthHandler(key1, key2)
  auth.set_access_token(key3, key4)
  
  api = tweepy.API(auth)
  
  ids = []
  for page in tweepy.Cursor(api.followers_ids, screen_name=accountvar).pages():
       ids.extend(page)
       time.sleep(60)
  
  users = api.lookup_users(user_ids=ids)
  for u in users:
       print u.screen_name
  </code></pre>
  
  <p>The error I keep getting is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 24, in &lt;module&gt;
      users = api.lookup_users(user_ids=ids)
    File "/Library/Python/2.7/site-packages/tweepy/api.py", line 321, in lookup_users
      return self._lookup_users(post_data=post_data)
    File "/Library/Python/2.7/site-packages/tweepy/binder.py", line 239, in _call
      return method.execute()
    File "/Library/Python/2.7/site-packages/tweepy/binder.py", line 223, in execute
      raise TweepError(error_msg, resp)
  tweepy.error.TweepError: [{u'message': u'Too many terms specified in query.', u'code': 18}]
  </code></pre>
  
  <p>I've looked at a bunch of other questions about this type of question, but none I could find had a solution that worked for me, but if someone has a link to a solution, please send it to me! </p>