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.

Matt Butler Matt Butler Software Engineer @ AWS Dor Yaloz Dor Yaloz SW engineer with 6+ years of experience, I worked with React/Node/Python did projects with React+Capacitor.js for ios Supabase expert Matthew Butler Matthew Butler Systems Development Engineer @ Amazon Web Services Kingsley Omage Kingsley Omage Fullstack software engineer passionate about AI Agents, blockchain, LLMs. Rudra Bhikadiya Rudra Bhikadiya I build and fix web apps across Next.js, Node.js, and DBs. Comfortable jumping into messy code, broken APIs, and mysterious bugs. If your project works in theory but not in reality, I help close that gap. legrab legrab I'll fill this later Sage Fulcher Sage Fulcher Hey I'm Sage! Im a Boston area software engineer who grew up in South Florida. Ive worked at a ton of cool places like a telehealth kidney care startup that took part in a billion dollar merger (Cricket health/Interwell health), a boutique design agency where I got to work on a ton of exciting startups including a photography education app, a collegiate Esports league and more (Philosophie), a data analytics as a service startup in Cambridge (MA) as well as at Phillips and MIT Lincoln Lab where I designed and developed novel network security visualizations and analytics. I've been writing code and furiously devoted to using computers to make people’s lives easier for about 17 years. My degree is in making computers make pretty lights and sounds. Outside of work I love hip hop, the Celtics, professional wrestling, magic the gathering, photography, drumming, and guitars (both making and playing them) MFox MFox Full-stack professional senior engineer (15+years). Extensive experience in software development, qa, and IP networking. Milan Surelia Milan Surelia Milan Surelia is a Mobile App Developer with 5+ years of experience crafting scalable, cross-platform apps at 7Span and Meticha. At 7Span, he engineers feature-rich Flutter apps with smooth performance and modern UI. As the Co-Founder of Meticha, he builds open-source tools and developer-focused products that solve real-world problems. Expertise: 💡 Developing cross-platform apps using Flutter, Dart, and Jetpack Compose for Android, iOS, and Web. 🖋️ Sharing insights through technical writing, blogging, and open-source contributions. 🤝 Collaborating closely with designers, PMs, and developers to build seamless mobile experiences. Notable Achievements: 🎯 Revamped the Vepaar app into Vepaar Store & CRM with a 2x performance boost and smoother UX. 🚀 Launched Compose101 — a Jetpack Compose starter kit to speed up Android development. 🌟 Open source contributions on Github & StackOverflow for Flutter & Dart 🎖️ Worked on improving app performance and user experience with smart solutions. Milan is always happy to connect, work on new ideas, and explore the latest in technology. PawelPloszaj PawelPloszaj I'm fronted developer with 10+ years of experience with big projects. I have small backend background too

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