title: How improve my code to get friends in tweepy
body: <p>I wrote a code to pick friends for a list of ids in twitter.
  But API issues make this code very slow.
  It's possible improve?
  My code is:</p>
  
  <pre><code>import tweepy
  consumer_key = ''
  consumer_key_secret = ''
  access_token = ''
  access_token_secret = ''
  auth = tweepy.OAuthHandler(consumer_key, consumer_key_secret)
  auth.set_access_token(access_token, access_token_secret)
  api = tweepy.API(auth, wait_on_rate_limit=True)
  
  for cara in fin1:
      if cara in dici1.keys(): next
      else:
          amigos=[]
          for user in tweepy.Cursor(api.friends, screen_name=cara).items():
              time.sleep(60)
              try:
                  amigos.append(user.screen_name)
                  comum = [pessoa for pessoa in amigos if pessoa in fin1]
                  dici = {cara : comum}
                  dici1.update(dici)    
              except: time.sleep(60), next
  </code></pre>
  
  <p><code>fin1</code> is the list of ids(name of the user, 39 in total)</p>
  
  <p><code>dici1</code> is a dict is where i store the information.</p>