retreiving all friends and followers using cursors