implement get_all_friend_ids and get_all_follower_ids