Fresh pineapple and mango are best for this recipe because they give the salsa a bright, fresh flavor. Canned fruit can be too soft and syrupy, which might affect the texture and taste.