helper function to get liked products from a particular group