Php Linkedin链接共享未获取标题和说明
我遵循linkedin的指示 我使用以下标签Php Linkedin链接共享未获取标题和说明,php,facebook,linkedin,Php,Facebook,Linkedin,我遵循linkedin的指示 我使用以下标签 <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 pr
<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没有检测到这些信息 有一个解决方案。为我工作
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+',工具栏=0,位置=0,菜单栏=0,目录=0,滚动条=0')代码>这是因为Linkedin有一个实习生缓存。
您只需添加链接并在“?1”之后添加
例如:
www.mywebsite.com?1
新的元描述是自动添加的。嗨,伊凡,你有没有收到任何通知?我也遇到同样的问题。但我需要知道如何使用元标记。所以如果你有什么解决办法,请告诉我。