How to successfully implement og:image for the LinkedIn

前端 未结 13 2681
陌清茗
陌清茗 2020-12-25 10:36

THE PROBLEM:

  • I am trying, without much success, to implement open graph image on site: http://www.guarenty-group.com/cz/
  • The homepage
相关标签:
13条回答
  • 2020-12-25 11:12

    I found this simple fix which worked for me after lots of complicated solutions which didn't work:

    LinkedIn

    The only way to “clear” the sharing preview cache for LinkedIn is to trick LinkedIn into thinking your page is a different (and new) page.

    This is done by adding a made-up parameter to the link. It doesn’t affect your webpage, but it does force the metadata to be re-fetched.

    Example:

    Original link: //beantin.se/consultant-resume "New" link: //beantin.se/consultant-resume?1

    0 讨论(0)
提交回复
热议问题