Lovable integration

Social Media Sharing Preview Broken in Lovable App

When you or your users share your Lovable app's links on social media (Facebook, Twitter/X, LinkedIn, iMessage), the preview shows incorrect information — wrong title, missing description, no image, or a generic fallback instead of your page-specific content.

Social sharing previews are crucial for marketing and user acquisition. A professional-looking preview with the right image and description dramatically increases click-through rates. A broken or generic preview makes your link look like spam.

The issue may differ by platform — Twitter might show a preview but Facebook doesn't, or the image appears on LinkedIn but the description is wrong on WhatsApp.

Error Messages You Might See

og:image could not be fetched The image could not be downloaded Missing required property: og:title Scrape failed due to timeout
og:image could not be fetchedThe image could not be downloadedMissing required property: og:titleScrape failed due to timeout

Common Causes

  • Missing Open Graph meta tags — The page doesn't include og:title, og:description, og:image, and og:url meta tags
  • Client-side rendered meta tags — Open Graph tags are rendered by JavaScript, but social media crawlers don't execute JavaScript
  • Image URL issues — The og:image URL is relative instead of absolute, too small, or returns a 404
  • Cached old preview — Social platforms cache previews aggressively, showing outdated information even after you fix the tags
  • Same meta tags on all pages — Every page shares the same generic meta tags instead of page-specific content

How to Fix It

  1. Add Open Graph meta tags — Add og:title, og:description, og:image (absolute URL, at least 1200x630px), og:url to your page's <head>
  2. Use server-side rendering for meta tags — Ensure meta tags are in the initial HTML response, not added by JavaScript after page load
  3. Use absolute image URLs — og:image must be a full URL (https://yourdomain.com/image.jpg), not a relative path
  4. Clear social media caches — Use Facebook's Sharing Debugger, Twitter's Card Validator, and LinkedIn's Post Inspector to clear cached previews
  5. Add page-specific tags — Generate unique og:title and og:description for each page using your page content or data

Real developers can help you.

PawelPloszaj PawelPloszaj I'm fronted developer with 10+ years of experience with big projects. I have small backend background too Mehdi Ben Haddou Mehdi Ben Haddou - Founder of Chessigma (1M+ users) & many small projects - ex Founding Engineer @Uplane (YC F25) - ex Software Engineer @Amazon and @Booking.com BurnHavoc BurnHavoc Been around fixing other peoples code for 20 years. Matthew Jordan Matthew Jordan I've been working at a large software company named Kainos for 2 years, and mainly specialise in Platform Engineering. I regularly enjoy working on software products outside of work, and I'm a huge fan of game development using Unity. I personally enjoy Python & C# in my spare time, but I also specialise in multiple different platform-related technologies from my day job. Basel Issmail Basel Issmail ’m a Senior Full-Stack Developer and Tech Lead with experience designing and building scalable web platforms. I work across the full development lifecycle, from translating business requirements into technical architecture to delivering reliable production systems. My work focuses on modern web technologies, including TypeScript, Angular, Node.js, and cloud-based architectures. I enjoy solving complex technical problems and helping teams turn product ideas and prototypes into working platforms that can grow and scale. In addition to development, I often collaborate closely with product managers, business analysts, designers, and QA teams to ensure that solutions align with both technical and business goals. I enjoy working with startups and product teams where I can contribute both as a hands-on engineer and as a technical partner in designing and delivering impactful software. rayush33 rayush33 JavaScript (React.js, React Native, Node.js) Developer with demonstrated industry experience of 4+ years, actively looking for opportunities to hone my skills as well as help small-scale business owners with solutions to technical problems MFox MFox Full-stack professional senior engineer (15+years). Extensive experience in software development, qa, and IP networking. ISHANTDEEP SINGH ISHANTDEEP SINGH Senior Software Engineer with 7+ years of experience in React, JavaScript, TypeScript, Next.js, and Node.js. I’ve also worked as a tech lead for startups, owning end-to-end technical execution including architecture, development, scaling, and delivery. I bring a strong mix of hands-on coding, product thinking, and technical leadership, and I’m comfortable building products from scratch as well as improving and scaling existing systems. prajwalfullstack prajwalfullstack Hi Im a full stack developer, a vibe coded MVP to Market ready product, I'm here to help legrab legrab I'll fill this later

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently Asked Questions

Why does my preview look right in DevTools but wrong on Facebook?

Facebook's crawler doesn't execute JavaScript. If your meta tags are added client-side by React, the crawler sees empty tags. You need server-side rendering (SSR) or static generation for meta tags.

How do I clear the cached preview on Facebook?

Go to Facebook's Sharing Debugger (developers.facebook.com/tools/debug/), enter your URL, and click 'Scrape Again' to refresh the cached preview.

Related Lovable Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help