2017-06-05 65 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