D
D
d432013-01-01 18:36:24
HTML
d43, 2013-01-01 18:36:24

Why doesn't VKontakte pick up my OpenGraph image?

There is a site with og:image written like this:

<meta content="http://smoothmouse.com/img/og-image.jpg" property="og:image">

VKontakte does not pick up this picture when inserting a link into a message on the wall:



although Facebook does this without problems:

image

They write on the Internet that VKontakte does not work with OpenGraph and requires some kind of tag for these pictures, but this is not true: you can make sure of this if you insert a link to any other site with og:image spelled out (for example, www.cnet.com ). In addition, there is a mention of og:image in the documentation of VKontakte itself .

Facebook Object Debugger says everything is ok .

It is also interesting that you can get around the problem with a link like this:
https://vk.com/share.php?image=http://smoothmouse.com/img/og-image.jpg&url=http://smoothmouse.com

Anyone encountered such a problem?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
V
vosi, 2013-01-01
@d43

I know for sure that contact and fb cache links
and if you check, add something, check again - there will be an old result, you need to change the link to see the changes

D
Dmitry Mitselin, 2013-12-03
@Mycelin

Does anyone know if the cache is updated at all? There is no information anywhere, I used to change quickly, now something has changed.
UPD: They made a tool for that! :)
vk.com/dev/pages.clearCache
Like Facebook ( developers.facebook.com/tools/debug )

J
Jonh Doe, 2013-01-01
@CodeByZen

<link rel="image_src" href="./images/noimg100x100.gif" />

It works for me if I paste this. However, when previewing, the picture is full, but when submitting, the layout of the contact cuts the picture in width. I asked a question to support, they answered me that they support it only on large sites, and on the rest, as much as possible.

H
hayk, 2013-01-01
@hayk

As already written, most likely cached. It's easy to make sure: add a get-parameter to the url.

K
kostryukov, 2016-11-29
@kostryukov

clear cache
https://vk.com/dev/pages.clearCache?params[url]=fa...

S
sem_tio, 2017-06-27
@sem_tio

It works for me like this:
In general, the complete filling of OpenGraph looks like this for me (this is for VK):

<meta property="og:type" content="article" />
<meta property="og:title" content="Заголовок" />
<meta property="og:description" content="Описание" />
<meta property="og:url" content="Ссылка на вашу страницу" />
<meta property="og:image" content="Ссылка на фото" />

PS: all meta is inserted between your site tags. <head> </head>

S
Sergey Miller, 2019-11-14
@blackseabreathe

right here

G
Gregory, 2021-11-23
@gtomilin

Flush cache open graph image

  1. for vk.com - vk.com/dev/pages.clearCache
  2. for facebook.com - developers.facebook.com/tools/debug/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question