Open Graph Protocol 🌐
The Open Graph protocol enables any web page to become a rich object in a social graph. 💎
For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
Also, Telegram uses this protocol to preview web pages like a rich object in messages and you can update your links preview using : @WebPageBot ✅
To turn your web pages into graph objects, you need to add basic metadata to your page ✍🏻 :
🔹🔸🔹🔸
As an example, the following is the Open Graph protocol markup for The Rock on IMDB 🎥 :
https://t.me/pgimg/41
[ Website ] : http://ogp.me/
〰〰〰〰〰〰
#OpenGraph #Protocol
@ProgrammingTip
The Open Graph protocol enables any web page to become a rich object in a social graph. 💎
For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
Also, Telegram uses this protocol to preview web pages like a rich object in messages and you can update your links preview using : @WebPageBot ✅
To turn your web pages into graph objects, you need to add basic metadata to your page ✍🏻 :
og:title
og:type
og:image
og:url
🔹🔸🔹🔸
As an example, the following is the Open Graph protocol markup for The Rock on IMDB 🎥 :
<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>
https://t.me/pgimg/41
[ Website ] : http://ogp.me/
〰〰〰〰〰〰
#OpenGraph #Protocol
@ProgrammingTip
Telegram
Programming Tips Resources