我想分享我的当前页面(如果是laravel)或分享帖子(如果是VUE js)。我已经在head中添加了og标签。图像和标题正在共享,但描述未共享。有什么需要添加到分享描述中的吗?
以下是我的Head标签代码
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="B1G1: Business for Good" />
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="0 school meals to children in need in India were given." />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="Test" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://api.b1g1.com/uploads/projects/10/1436419809_proj_sq_10.jpg" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="http://127.0.0.1:8000/testing" />和分享链接就像
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}','_blank', 'width=600, height=600'); return false;">Share</button>我错过什么了吗?
我已经添加了当前格式的分享页面。

提前感谢
发布于 2018-11-26 15:21:24
将您的按钮代码更改为以下代码(根据需要更改变量),您也可以发送评论
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button有关您可以发送的信息的更多详细信息
并转到“自定义https://developer.linkedin.com/docs/share-on-linkedin”。
希望这能有所帮助
https://stackoverflow.com/questions/53444782
复制相似问题