Answer the question
In order to leave comments, you need to log in
How to properly configure Open Graph for correct display in VK?
I’ll write right away that this is not a repeat, it doesn’t work, it’s only in one place and many solutions have already been tried, it doesn’t help.
In all social networks and instant messengers, except for VK title and image are displayed normally.
On pages where images are presented as a background - the image in VK is absent in principle, but on pages where images are presented through they are taken, and not always the first for some reason, if there is a slider on the page (native js, without connecting third-party ones), then the second image is taken from the slider (for some reason). It turns out on the pages and through bg and through img og: image is not perceived in VK at all. Here is the source code - the most basic.
<html prefix="og: http://ogp.me/ns#">
<head>
<meta property="og:title" content="title">
<meta property="og:image" content="image.png">
</head>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question