You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

网站链接在WhatsApp无预览求助:Facebook与LinkedIn预览正常

Hey there! Let's figure out why your link preview works on Facebook and LinkedIn but not on WhatsApp. I've dealt with this exact issue a bunch of times, so here are practical fixes to try:

  • Double-check your Open Graph (OG) tags
    WhatsApp can be pickier about OG tags than other platforms. Make sure your page's <head> section includes these essential tags with correct values:

    <meta property="og:title" content="Your Page's Clear Title">
    <meta property="og:description" content="A concise, engaging description of your page">
    <meta property="og:image" content="https://your-domain.com/path/to/your-image.jpg">
    <meta property="og:url" content="https://your-domain.com/exact-page-url">
    

    Critical notes: The og:image must be a direct HTTPS link (no redirects, no hotlink protection), and the image should ideally be 1200x630 pixels (the aspect ratio WhatsApp prefers for previews).

  • Fix HTTPS & cache problems
    WhatsApp only crawls HTTPS links, so ensure your site is fully secured with HTTPS. Also, WhatsApp caches previews aggressively—if you recently updated your OG tags, try:

    • Adding a random query parameter to the end of your link (like ?refresh=1) to bypass the cache
    • Sending the link to a different WhatsApp account or restarting the app to trigger a fresh crawl
  • Ensure your server allows WhatsApp's crawler
    WhatsApp uses the same crawler user agent as Facebook: facebookexternalhit/1.1. Check your server logs to confirm this agent gets a 200 OK response when accessing your page. Also, make sure your robots.txt file doesn't block this user agent.

  • Validate the link with Facebook's Debug Tool
    Since WhatsApp shares Facebook's crawling engine, using Facebook's link debugger will show you exactly what's wrong—whether tags are missing, images are unaccessible, or there's a crawl error. It even lets you refresh the crawler's cache for your link.

  • Avoid dynamic OG tags
    If your OG tags are generated dynamically with JavaScript, WhatsApp's crawler might not pick them up. These tags need to be static in the HTML source code so the crawler can read them immediately without executing JS.

内容的提问来源于stack exchange,提问作者Om Agarwal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 07:38:32