Retrieving details of a user's friends by using the multiquery method