title: Get list of twitter friends using twitter API
body: <p>In my iOS app, I am trying to get list of Twitter friends of my account. I have over 500 friends. I am using <a href="https://api.twitter.com/1.1/friends/list.json" rel="nofollow">https://api.twitter.com/1.1/friends/list.json</a> twitter resource to get list of friends.</p>
  
  <p>The problem is that after getting 300 friends the API returns error 429 <code>"Twitter response, HTTP response: 429"</code>. This error shows that some <a href="https://dev.twitter.com/docs/error-codes-responses" rel="nofollow">limit have been exceed</a> and no more request can be made now.</p>
  
  <p>According to <a href="https://dev.twitter.com/docs/rate-limiting/1.1/limits" rel="nofollow">Twitter API Limits</a> we can do 15 firends/list.json GET requests per 15 minutes. Since each request only returns maximum of 20 friends at a time the 15 requests returns only 300 friends and then error 429.</p>
  
  <p>I would like to know the best way to show more than 500 twitter friends in a table view in iOS app. For each friends, I need its name, photo and Id.</p>