NikolayRys / Likely

The social sharing buttons that aren’t shabby
ISC License
395 stars 61 forks source link

vk.com - 'image' parameter #136

Closed coldshine closed 7 years ago

coldshine commented 7 years ago

vk.com/share.php seems started to use new GET parameter called image.

For example to make a post with an image from a cell-phone we have to use this param, because m.vk.com/share.php skips og:image tag...

iamakulov commented 7 years ago

Do you mean this as a question?

If so, yes, you can specify the data-image attribute on the VK button to use this GET parameter:

<div class="likely">
  <div class="vkontakte" data-image="https://placekitten.com/200/400" data-description="Check this out">Share</div>
</div>

If I haven’t understood you, feel free to correct me!

coldshine commented 7 years ago

Oh, yeah, you're right! I just've missed this part of docs. Thank you!