首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Linkedin链接共享没有得到标题和描述

Linkedin链接共享没有得到标题和描述
EN

Stack Overflow用户
提问于 2014-03-04 11:08:39
回答 2查看 1.2K关注 0票数 1

我听从id/46687/ft/eng领英的指示

我使用以下标签

代码语言:javascript
运行
复制
<meta property="og:title" content="Title of the article"/>
<meta property="og:image" content="http://media.example.com/ 1234567.jpg"/>
<meta property="og:description" content="Description that will show in the preview"/>
<meta property="og:url" content="http://www.example.com/URL of the article" />

问题:

我的标题、描述和图像在Facebook上运行得很好,但是LinkedIn没有检测到这些信息。

EN

回答 2

Stack Overflow用户

发布于 2017-06-07 13:58:48

这是因为Linkedin有一个实习生缓存。你只需要添加你的链接,然后添加'?1‘

例: www.mywebsite.com?1

新的元数据集是自动添加的。

票数 1
EN

Stack Overflow用户

发布于 2014-06-30 12:06:51

有一个解决办法。为我工作。

window.open('https://linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(link) + '&title= '+ title +'&summary=', 'twitterwindow', 'height=450, width=550, top='+(jQuery(window).height()/2 - 225) +', left='+jQuery(window).width()/2 +', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0');

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22170303

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档