跳到主要内容

工具

Open Graph 与 Twitter Card 预览

粘贴 HTML 或 meta 标签,在浏览器里预览 Open Graph 卡片和 Twitter 卡片。页面只读取你粘贴的标签。

Open Graph 卡片

vaneform.com

Vaneform traffic checker

Estimated monthly visits for a public domain, with the month and confidence kept on the figure.

Twitter 卡片

Vaneform traffic checker

Estimated monthly visits for a public domain, with the month and confidence kept on the figure.

vaneform.com

粘贴内容里读到的标签

标签值
og:titleVaneform traffic checker
og:descriptionEstimated monthly visits for a public domain, with the month and confidence kept on the figure.
og:imagehttps://vaneform.com/og-en.png
og:urlhttps://vaneform.com/
og:typewebsite
og:site_nameVaneform
twitter:cardsummary_large_image
twitter:titleVaneform traffic checker
twitter:descriptionEstimated monthly visits for a public domain, with the month and confidence kept on the figure.
twitter:imagehttps://vaneform.com/og-en.png

检查

  • Open Graph 的标题、描述、图片和 URL 都在,图片与 URL 是绝对地址,并且写了 twitter:card。

两张卡片各用哪些字段

Open Graph 卡片使用 og:title、og:description、og:image 和 og:url。标题下的主机名来自 og:url。Twitter 卡片在有 twitter:title、twitter:description、twitter:image 时用这些标签,否则沿用 Open Graph 的值。twitter:card 为 summary_large_image 时图片在文字上方;为 summary 时图片在文字旁边。没有 twitter:card 时,Open Graph 卡片仍按 og: 标签绘制。

把示例换成即将发布页面的 head。预览展示文本框里的字符串。页面不会请求那一页,平台在抓取线上 URL 之后仍可能裁切标题或忽略图片。站内的搜索结果预览用来看 title 和 meta description 在 Google 结果里的长度。

搜索结果预览 →JSON-LD 检查 →更多工具 →