Linkedin 分享网页不显示摘要
Linkedin Sharing web page does not show summary
近 4 年来,我们一直在使用
将我们的网站页面和文章分享到 LinkedIn
https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/page1/
直到最近,共享块才会显示图像、标题和摘要。就像在 Facebook 中一样。但是现在,我们发现摘要没有显示。我知道很多人在这里提出了同样的担忧。我在本论坛中看到的一种解决方案是改为强制访问者登录我们的 LinkedIn 应用程序并通过 REST API post 状态。我的问题是,这真的有必要吗?我们的网站没有登录功能,因此强制人们登录 LinkedIn 应用程序只是为了显示已经包含在页面上 og 标签中的描述。 LinkedIn 的人肯定可以回应这个问题,因为很多人都提出了这个问题。
您可以使用 Post 检查器 (https://www.linkedin.com/post-inspector/) 预览您的帖子在 LinkedIn 上的分享方式。
或者,您可以使用共享插件 (https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin) 添加小部件,以便用户轻松在 LinkedIn 上共享内容。
只需快速浏览一下 Official LinkedIn "Making Your Website Shareable on LinkedIn" Documentation。我会加粗特别感兴趣的地方:
If you're the developer of your website, you'll need to make sure the source code complies with Open Graph Protocol (OGP) and certain image requirements specific to LinkedIn....
Below are the og: tags that must exist and their correct format:
<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" />
以及要求...
Here are the image requirements specific to the LinkedIn sharing module:
- Max file size: 5 MB
- Minimum image dimensions: 1200 (w) x 627 (h) pixels
- Recommended ratio: 1.91:1
因此,如果您想确保您的图像在 LinkedIn 共享功能中正确显示,请确保您的网页具有以下内容...
<html>
<head>
<meta property="og:image" content="someweburl.jpg" />
</head>
...
</html>
希望对您有所帮助!
近 4 年来,我们一直在使用
将我们的网站页面和文章分享到 LinkedInhttps://www.linkedin.com/shareArticle?mini=true&url=https://example.com/page1/
直到最近,共享块才会显示图像、标题和摘要。就像在 Facebook 中一样。但是现在,我们发现摘要没有显示。我知道很多人在这里提出了同样的担忧。我在本论坛中看到的一种解决方案是改为强制访问者登录我们的 LinkedIn 应用程序并通过 REST API post 状态。我的问题是,这真的有必要吗?我们的网站没有登录功能,因此强制人们登录 LinkedIn 应用程序只是为了显示已经包含在页面上 og 标签中的描述。 LinkedIn 的人肯定可以回应这个问题,因为很多人都提出了这个问题。
您可以使用 Post 检查器 (https://www.linkedin.com/post-inspector/) 预览您的帖子在 LinkedIn 上的分享方式。
或者,您可以使用共享插件 (https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin) 添加小部件,以便用户轻松在 LinkedIn 上共享内容。
只需快速浏览一下 Official LinkedIn "Making Your Website Shareable on LinkedIn" Documentation。我会加粗特别感兴趣的地方:
If you're the developer of your website, you'll need to make sure the source code complies with Open Graph Protocol (OGP) and certain image requirements specific to LinkedIn....
Below are the og: tags that must exist and their correct format:
<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" />
以及要求...
Here are the image requirements specific to the LinkedIn sharing module:
- Max file size: 5 MB
- Minimum image dimensions: 1200 (w) x 627 (h) pixels
- Recommended ratio: 1.91:1
因此,如果您想确保您的图像在 LinkedIn 共享功能中正确显示,请确保您的网页具有以下内容...
<html>
<head>
<meta property="og:image" content="someweburl.jpg" />
</head>
...
</html>
希望对您有所帮助!