- Problem: Missing required Open Graph properties
- Solution: Added complete Open Graph metadata with proper structure
- Problem: Using relative URLs that WhatsApp couldn't resolve
- Solution: Changed to absolute URLs with your domain
- Problem: Missing meta tags that WhatsApp specifically looks for
- Solution: Added additional meta tags in the
<head>section
- Problem: Your image is 1676x601, but optimal WhatsApp size is 1200x630
- Solution: Need to resize the image (instructions below)
✅ Fixed in Code:
- Added proper Open Graph metadata structure
- Added absolute URLs for images
- Added WhatsApp-specific meta tags
- Added fallback meta tags
- Resize
public/opengraph-image.pngfrom 1676x601 to 1200x630
- Go to https://www.iloveimg.com/resize-image
- Upload
public/opengraph-image.png - Set dimensions to: 1200 x 630 pixels
- Disable "Maintain aspect ratio" (crop if needed)
- Set quality to 90% or higher
- Download and replace your current image
- Go to https://www.canva.com/
- Create custom size: 1200 x 630
- Upload your current image
- Adjust/crop as needed
- Download as PNG
- Replace
public/opengraph-image.png
- Open
public/opengraph-image.png - Go to Image → Image Size
- Set width: 1200px, height: 630px
- Disable "Constrain Proportions"
- Save as PNG
Once you've resized the image, update the dimensions in app/layout.tsx:
// Change these lines:
width: 1676, // → width: 1200,
height: 601, // → height: 630,
// And in the <head> section:
<meta property="og:image:width" content="1676" /> // → content="1200"
<meta property="og:image:height" content="601" /> // → content="630"- Go to: https://developers.facebook.com/tools/debug/
- Enter your URL:
https://agent-flow-theta.vercel.app - Click "Debug" to see how it looks
- Go to: https://www.opengraph.xyz/
- Enter your URL to preview
- Share your URL in a WhatsApp chat
- The preview should now show your image
WhatsApp (and other social platforms) are very strict about:
- Image dimensions - Must match declared dimensions exactly
- Absolute URLs - Relative URLs don't work for external crawlers
- Complete meta tags - Missing required properties cause failures
- Image format - PNG/JPG with proper MIME types
- Test Regularly: WhatsApp changes their requirements occasionally
- Monitor Performance: Large images slow down page loading
- A/B Test: Try different images to see what gets better engagement
- Keep Backup: Save your original image before resizing
<!-- Open Graph -->
<meta
property="og:image"
content="https://agent-flow-theta.vercel.app/opengraph-image.png"
/>
<meta
property="og:image:secure_url"
content="https://agent-flow-theta.vercel.app/opengraph-image.png"
/>
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1676" />
<meta property="og:image:height" content="601" />
<meta property="og:image:alt" content="Agent-Flow AI Automation Platform" />
<!-- WhatsApp specific -->
<meta
property="whatsapp:image"
content="https://agent-flow-theta.vercel.app/opengraph-image.png"
/>
<!-- Fallback -->
<meta
name="image"
content="https://agent-flow-theta.vercel.app/opengraph-image.png"
/>- ✅ Resize your image to 1200x630
- ✅ Update dimensions in the code
- ✅ Deploy to production
- ✅ Test with WhatsApp
- ✅ Monitor for any issues
Your Open Graph image should now work perfectly in WhatsApp! 🎉