title: Twitter follower app: "generated an exception: [{'message': 'Rate limit exceeded', 'code': 88}]"
body: <p>I have some code that follows everyone in return when they follow me:</p>
  
  <pre><code>import twitter
  from sets import Set
  
  try:
  
      api = twitter.Api(consumer_key='',
                        consumer_secret='',
                        access_token_key='',
                        access_token_secret='')
  
      following = api.GetFriends()
      friendNames = Set()
      for friend in following:
          friendNames.add(friend.screen_name)
  
      followers = api.GetFollowers()
      for follower in followers:
          if (not follower.screen_name in friendNames):
               api.CreateFriendship(follower.screen_name)
  
  
  except Exception as exc:
      print('generated an exception: %s' % (exc))
  </code></pre>
  
  <p>This is throwing up the following error:</p>
  
  <pre><code>generated an exception: [{'message': 'Rate limit exceeded', 'code': 88}]
  </code></pre>
  
  <p>I am aware that their is a restriction around how many followers you can follow back per hour using this code via the API, however I have manually followed all my followers back and still got the same error. Can anyone see what the issue is here?</p>
  
  <p>Thanks</p>