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.

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. prajwalfullstack prajwalfullstack Hi Im a full stack developer, a vibe coded MVP to Market ready product, I'm here to help Matthew Butler Matthew Butler Systems Development Engineer @ Amazon Web Services Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. 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 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 zipking zipking I am a technologist and product builder dedicated to creating high-impact solutions at the intersection of AI and specialized markets. Currently, I am focused on PropScan (EstateGuard), an AI-driven SaaS platform tailored for the Japanese real estate industry, and exploring the potential of Archify. As an INFJ-T, I approach development with a "systems-thinking" mindset—balancing technical precision with a deep understanding of user needs. I particularly enjoy the challenge of architecting Vertical AI SaaS and optimizing Small Language Models (SLMs) to solve specific, real-world business problems. Whether I'm in a CTO-level leadership role or hands-on with the code, I thrive on building tools that turn complex data into actionable value. Antriksh Narang Antriksh Narang 5 years+ Experienced Dev (Specially in Web Development), can help in python, javascript, react, next.js and full stack web dev technologies. Krishna Sai Kuncha Krishna Sai Kuncha Experienced Professional Full stack Developer with 8+ years of experience across react, python, js, ts, golang and react-native. Developed inhouse websearch tooling for AI before websearch was solved : )

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