Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Linkedin链接共享未获取标题和说明_Php_Facebook_Linkedin - Fatal编程技术网

Php 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

我遵循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 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


新的元描述是自动添加的。

嗨,伊凡,你有没有收到任何通知?我也遇到同样的问题。但我需要知道如何使用元标记。所以如果你有什么解决办法,请告诉我。