Get Friends list and iterator function