I'm using a rich text editor to create social media posts' text and I save it in DB as HTML to keep the format, I want to send these texts to Facebook Graph API formatted for example:

// DB <p>✨ <strong>Discover Elegance Redefined</strong>! Explore the brilliance of this meticulously crafted <em>platinum engagement ring</em>, featuring a stunning <strong>pavé diamond band</strong> that perfectly complements its breathtaking <strong>center stone</strong>. 💍 #ForeverBrilliant #EngagementRing #LuxuryJewelry #DiamondLove ✨</p> 

//FB ✨ Discover Elegance Redefined! Explore the brilliance of this meticulously crafted platinum engagement ring, featuring a stunning pavé diamond band that perfectly complements its breathtaking center stone. 💍 #ForeverBrilliant #EngagementRing #LuxuryJewelry #DiamondLove ✨

I tried to use HTMLPurifier Library but still not working

Tag:laravel, php, facebook-graph-api, text

Add a new comment.