How to force telegram to update link preview?

北城以北 提交于 2019-12-03 02:40:52

问题


Telegram show description meta tag as link preview. I changed the description meta tag but the link preview of my website didn't changed. How to force telegram to update link preview?


回答1:


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




回答2:


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.




回答3:


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

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

and it worked.



来源:https://stackoverflow.com/questions/35268940/how-to-force-telegram-to-update-link-preview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!