@samuellhuber.eth
that is fully working yes.
const handleShare = () => {
const [first, second, third] = selectedFlavors;
const castText = `My favorite ice cream flavors🍦 are: ${first}, ${second}, ${third} and I love being able to use Cast Composer Actions built by dTech for my business!`;
window.parent.postMessage({
type: "createCast",
data: {
cast: {
text: castText,
embeds: ["https://dtech.vision"]
}
}
}, "*");
};