Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what should be structure of website to retrieve site information in telegram?

Tags:

url

web

telegram

Some website retrieved information in telegram when send link and some website doesn't like this: enter image description here

So my question is there any structure for website to load information in telegram ?

like image 761
minttux Avatar asked Dec 14 '22 13:12

minttux


1 Answers

The Open Graph protocol enables any web page to become a rich object in a social graph like Facebook, twitter, telegram, Skype and ...

As an example, the following is the Open Graph protocol markup for The Rock on IMDB:

<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
...
</head>
...
</html>
like image 164
Hadi Kalantari Avatar answered Dec 28 '22 12:12

Hadi Kalantari