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?
Asked
Active
Viewed 9.4k times
4 Answers
242
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.

Arash Milani
- 6,149
- 2
- 41
- 47

littleguga
- 2,570
- 1
- 11
- 9
-
1How I can tell telegram to run my javascript code before capturing meta data? – RezKesh Apr 25 '16 at 08:38
-
2I think it's not supported. – littleguga Apr 25 '16 at 20:43
-
@rezcash ask Telegram support for this. – littleguga Apr 25 '16 at 20:44
-
1I’ve tried it, it doesn’t work when I update my website. – Gabriel Jul 07 '17 at 13:12
-
@Gabriel try again or ask Telegram support. – littleguga Jul 08 '17 at 23:31
-
5I forgot to add `prefix="og: http://ogp.me/ns#"` to the `head`. After added this Telegram bot updated preview of my website. – Gabriel Jul 09 '17 at 08:11
-
@rezCash You can't. Meta data is in the tag. javascript is not ran by a server, only a browser can interpret it. – Amir Hossein Baghernezad Nov 22 '17 at 16:28
-
@rezKesh use server side rendering – Chung Lun Yuen Dec 28 '19 at 07:25
-
1@AvenDesta yes, it's official bot. – littleguga Jan 24 '21 at 18:51
-
As far as I can tell, the og prefix in the `html` tag isn't required anymore. – s427 Jan 19 '22 at 13:24
-
Worked for me, thanks. Though I would have never guessed I'm supposed to do this manually just for my website description to show correctly on Telegram link previews... – Nikita Kalganov May 08 '23 at 14:43
15
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.

clemens
- 16,716
- 11
- 50
- 65

Morteza Pourmirzai
- 189
- 2
- 8
5
Sending the pure link to @webpagebot would not work so I used
<meta property="og:url" content="https://mylink.com" />
and it worked.

tigismiley
- 51
- 1
- 3
1
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.

afamefuna promise
- 31
- 3