title: How to get list of all twitter followers using twitter4j?
body: <p>I have been wondering if there is a way to access all the twitter followers list.</p>
  
  <p>We have tried using call to the <a href="https://dev.twitter.com/docs/rate-limiting/1.1" rel="nofollow noreferrer">REST API</a> via twitter4j:</p>
  
  <pre><code>  public List&lt;User&gt; getFriendList() {
      List&lt;User&gt; friendList = null;
      try {
          friendList = mTwitter.getFollowersList(mTwitter.getId(), -1);
  
      } catch (IllegalStateException e) {
          e.printStackTrace();
      } catch (TwitterException e) {
          e.printStackTrace();
      }
      return friendList;
  }
  </code></pre>
  
  <p>But it returns only a list of 20 followers.</p>
  
  <p>I tried using the same <a href="https://stackoverflow.com/questions/16897538/how-to-get-my-followers-list">call in loop</a>, but it cause a rate limit exception - says we are not allowed to make too many requests in a small interval of time.</p>
  
  <p>Do we have a way around this?</p>