title: Get the top followed followers of a user in twitter using python-twitter
body: <p>I want to get the top followed followers of a user in twitter using python-twitter. And that without getting the 'Rate limit exceeded' error message.</p>
  <p>I can get followers of a user then get the number of folowers of each one, but the problem is when that user is big (thousands).</p>
  <p>I use the following function to get the followers ids of a particular user:</p>
  <pre><code>def GetFollowerIDs(self, userid=None, cursor=-1):
     url = 'http://twitter.com/followers/ids.json'
     parameters = {}
     parameters['cursor'] = cursor
     if userid:
         parameters['user_id'] = userid
     json = self._FetchUrl(url, parameters=parameters)
     data = simplejson.loads(json)
     self._CheckForTwitterError(data)
     return data
  </code></pre>
  <p>and my code is:</p>
  <pre><code>import twitter
  api = twitter.Api(consumer_key='XXXX',
                    consumer_secret='XXXXX',
                    access_token_key='XXXXX',
                    access_token_secret='XXXXXX')
  user=api.GetUser(screen_name=&quot;XXXXXX&quot;)
  users=api.GetFollowerIDs(user)
  
  #then i make a request per follower in users so that I can sort them according to the number of followers.
  </code></pre>
  <p>the problem is that when the user has a lot of followers i get the 'Rate limit exceeded' error message.</p>