字段名称
|
|
字段描述
|
字数上限 (字符数)
|
|
content
|
|
一系列描述分享内容的字段。
|
|
|
|
title
|
分享内容的标题。
|
200
|
|
|
description
|
分享内容的说明。
|
256
|
|
|
submitted-url
|
分享内容的完全限定网址。
|
无
|
|
|
submitted-image-url
|
分享内容缩略图的完全限定网址。
为达到最佳效果,图片应至少为 80 x 150px。
|
无
|
|
comment
|
|
会员针对分享内容所做的评论。
如果未提供以上内容参数,则评论必须包含分享内容的网址。 如果评论中包含多个网址,则只分析分享内容的第一个网址。
|
700
|
|
visibility
|
|
一些有关分享内容的公开性信息。
|
|
|
|
code
|
以下其中一个值:
-
anyone: 分享内容对所有会员公开。
-
connections-only: 分享内容仅对进行分享者的联系人公开。
此字段是所有分享调用中的必填字段。
|
无
|
"comment": "Check out developer.linkedin.com! http://linkd.in/1FC2PyG",
"visibility": {
"code": "anyone"
<share>
<comment>Check out developer.linkedin.com! http://linkd.in/1FC2PyG</comment>
<visibility>
<code>anyone</code>
</visibility>
</share>
"comment": "Check out developer.linkedin.com!",
"content": {
"title": "LinkedIn Developers Resources",
"description": "Leverage LinkedIn's APIs to maximize engagement",
"submitted-url": "https://developer.linkedin.com",
"submitted-image-url": "https://example.com/logo.png"
"visibility": {
"code": "anyone"
<comment>Check out developer.linkedin.com!</comment>
<content>
<title>LinkedIn Developer Resources</title>
<description>Leverage LinkedIn's APIs to maximize engagement</description>
<submitted-url>https://developer.linkedin.com</submitted-url>
<submitted-image-url>https://example.com/logo.png</submitted-image-url>
</content>
<visibility>
<code>anyone</code>
</visibility>
</share>
"updateKey": "UPDATE-3346389-595113200…",
"updateUrl": "https://www.linkedin.com/updates?discuss=…&scope=…"
<html prefix="og: http://ogp.me/ns#">
<meta property="og:title" content="My Shared Article Title" />
<meta property="og:description" content="Description of shared article" />
<meta property="og:url" content="http://example.com/my_article.html" />
<meta property="og:image" content="http://example.com/foo.jpg" />
</head>
</body>
</html>