title: Twitter API - Getting friends and follower ids for a set of users?
body: <p>I am able to extract tweets, and the submitter's user details using the streaming API, but I also need the <strong>list of followers and friends of users</strong> posting these tweets.</p>
  
  <p>I am aware that Twitter search API has the <strong>friends/ids</strong> and <strong>followers/ids</strong> functions through which one can get the public followers and friends list one user at a time. </p>
  
  <p>But, my data collection requires getting this information for all the users whose tweets I have collected, around <strong>20,000+ users</strong>. This is quite exhaustive given the high number of users, and the limitation of one user per call. Moreover, I need to <strong>refresh this list</strong> for each of these 20,000+ users <strong>preferably once a day</strong> to observe changes in their friends and followers (if any).</p>
  
  <p>IS there any I can achieve this using the Twitter Streaming API or any other method. Or I have to apply for the Twitter commercial data license?</p>
  
  <p>Thanks!!!</p>