when I'm send a new link in telegram,this messenger reads Open Graph data(og tag) of Url automatically,and this is very good. but when the Open Graph data(og) of Url is changed,the telegram cached old og.
how can clear the old Open Graph data(og tags) and reading new og tag value??
for example see below image,I'm type url asp.net but the telegram reading the below tag:
<meta property="og:description" content="ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript." />
you must chat with
@webpage
both and tell him in chatGo to @webpagebot and send the link (up to 10) you want to update.
I've solved this problem by using bitly.com and changing url.
Use @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.
Images are cached too. Update them the same way. Be sure they're specified using Open Graph but note you do not need to use the
prefix
attribute on yourhtml
tag to define the OG namespace.Old solution:
Use a pattern like the following pattern for your web address:
Then replace previous
number
with a new one to force telegram update og data. For example use this:Instead of: