写作与长帖

Twitter 卡片验证与预览

粘贴页面的 <meta> 标签或填写各项内容,预览链接卡片在 X 深色和浅色模式下的效果,检查缺失或过长的 twitter: 和 og: 标签,并复制修正后的 HTML。

免费使用,完全在浏览器中运行。不会上传任何内容,也不会连接你的 X 账号。

  • ✓ 所有必需标签都已填写。

深色

你的姓名 @you · 1m

DMX app screenshotDMX — X DMs without the doomscrolling

来自 dmx.to

浅色

你的姓名 @you · 1m

DMX app screenshotDMX — X DMs without the doomscrolling

来自 dmx.to

Meta 标签

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@dmxapp" />
<meta name="twitter:title" content="DMX — X DMs without the doomscrolling" />
<meta name="twitter:description" content="A native macOS app that keeps DMs and notifications open while limiting the timeline to 5 minutes per hour." />
<meta name="twitter:image" content="https://dmx.to/opengraph-image.png?v=2" />
<meta name="twitter:image:alt" content="DMX app screenshot" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dmx.to" />
<meta property="og:title" content="DMX — X DMs without the doomscrolling" />
<meta property="og:description" content="A native macOS app that keeps DMs and notifications open while limiting the timeline to 5 minutes per hour." />
<meta property="og:image" content="https://dmx.to/opengraph-image.png?v=2" />
标签限制 / 规则
twitter:cardsummary、summary_large_image、app、player
twitter:title最多 70 个字符(缺省时使用 og:title)
twitter:description最多 200 个字符(缺省时使用 og:description)
twitter:image绝对 URL,5 MB 以下,JPG/PNG/WEBP/GIF。大图:2:1,最小 300×157(理想尺寸 1200×628)。摘要:1:1,最小 144×144
twitter:image:alt最多 420 个字符
twitter:site网站的 @handle

X 于 2022 年停用了官方 Card Validator 预览。这个工具会在本地解析你的标签,并模拟 X 当前的卡片样式;链接首次发布时,X 会抓取并缓存页面。修改标签后,重新分享 URL,并加上查询参数(例如 ?v=2),就能绕过缓存。

少刷信息流,多做自己的事

DMX 是一款原生 macOS 应用,让你的 X 私信和通知始终畅通,同时将时间线浏览限制为每小时 5 分钟。私信照常看,告别无休止刷屏。

相关免费工具