2017-06-05 129 views
0

我在linkedin上实现了帖子分享,我想要在共享帖子时在url上显示url:image。但即使我已经将正确的url添加到了og:image meta标签。在共享帖子之后,它不会出现在LinkedIn的分享对话中。Linkedin分享没有选择og:图片

这是我使用分享我对LinkedIn文章的网址:

https://www.linkedin.com/shareArticle?mini=true&url=http://my_website.com:9000/post/40420&title=Test&summary=Description&source=MyWebsite 

回答

0

LinkedIn拥有共享此要求:那必须存在标签的正确格式:

下面是OG:

  • <meta property='og:title' content='Title of the article"/>
  • <meta property='og:image' content='//media.example.com/ 1234567.jpg"/>
  • <meta property='og:description' content='Description that will show in the preview"/>
  • <meta property='og:url' content='//www.example.com/URL of the article" />

下面是特定于LinkedIn共享模块的图像的要求:

  • 最大文件大小:5 MB
  • 最小图像尺寸:1200(宽)×627 (h)像素
  • 推荐比例:1.91:1

您可以在这里找到更多的细节 :https://www.linkedin.com/help/linkedin/answer/46687/making-your-website-shareable-on-linkedin?lang=en