Get friends func.