Никита Дубко, HR Tech @ Yandex
Никита Дубко, HR Tech @ Yandex
<head>
<title>YAMAL.DEV!</title>
<meta property="og:title"
content="YAMAL.DEV!">
<meta property="og:type"
content="website">
<meta property="og:url"
content="https://yamal.dev/">
<meta property="og:image"
content="https://yamal.dev/og_image.jpg" />
</head>
<head>
<title>YAMAL.DEV!</title>
<meta property="og:title"
content="YAMAL.DEV!">
<meta property="og:type"
content="website">
<meta property="og:url"
content="https://yamal.dev/">
<meta property="og:image"
content="https://yamal.dev/og_image.jpg" />
</head>
og:*
og:title
og:description
og:image
og:site_name
og:type
article
article:published_time
article:modified_time
article:expiration_time
article:author
article:tag
video.movie
video:actor
video:actor:role
video:director
video:writer
video:duration
video:release_date
video:tag
og:image
<meta property="og:image"
content="https://yamal.dev/ogp.jpg">
<meta property="og:image:secure_url"
content="https://s.yamal.dev/ogp.jpg">
<meta property="og:image:type"
content="image/jpeg">
<meta property="og:image:width"
content="1200">
<meta property="og:image:height"
content="630">
<meta property="og:image:alt"
content="Happy people are smiling">
<meta property="og:image"
content="https://mefody.dev/og-s.jpg">
<meta property="og:image:width" content="300">
<meta property="og:image:height" content="300">
<meta property="og:image"
content="https://mefody.dev/og-l.jpg">
<meta property="og:image:width" content="1000">
<meta property="og:image:height" content="1000">
og:locale
og:determiner
fb:app_id
og:asset
<meta name="twitter:card"
content="summary">
twitter:card
twitter:site
twitter:creator
og:title
, mrc__share_title
или twitter:title
vk:image
<meta name="pinterest-rich-pin"
content="false">
Pinterest Developers
og:availability
Twitterbot/1.0
facebookexternalhit/1.1
Mozilla/5.0 (compatible; vkShare; +http://vk.com/dev/Share)
TelegramBot (like TwitterBot)
User-agent: Twitterbot
Disallow:
The Twitter web crawler re-indexes the Card tag information on your page roughly every seven days.
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setViewport({
width: 1200,
height: 630,
deviceScaleFactor: 1,
});
await page.goto(url);
const screenshotBuffer = await page.screenshot({
fullPage: false,
type: 'png',
});
await page.close();