Updated to support the new way of dealing with friend IDs