如何强制电报更新链接预览?

电报显示描述元标记作为链接预览。 我改变了描述元标签,但我的网站链接预览没有改变。 如何强制电报更新链接预览?

81293 次浏览

Go to @webpagebot and send the link (up to 10) you want to update. Automatically will scan your site and generate the new image thumbnail, site name and description.

Remember to have og prefix in your html tag as: <html prefix="og: http://ogp.me/ns#"> or telegram bot will not update the graph cache.

via telegramgeeks

You may add /?v=n at the end of URL when sharing the link, where n can be any number and should increase after an update.

Sending the pure link to @webpagebot would not work so I used

<meta property="og:url" content="https://mylink.com" />

and it worked.

Actually it still works, added this line of code to my html head:

<meta prefix="og: http://ogp.me/ns#" />

then move to telegram bot and update your link 10 times:https://telegram.me/webpagebot?.

Once you have done that, you can copy your link again and the preview comes out.