Linkedin文档可以在
here找到
原文链接:https://www.f2er.com/php/137967.html正如它所说,它需要:
og:title og:description og:image og:url
这是我的wordpress博客源代码的一个例子,为简单起见,我使用Jetpack插件:
<!-- Jetpack Open Graph Tags --> <Meta property="og:type" content="article" /> <Meta property="og:title" content="Starbucks Netherlands Intel" /> <Meta property="og:url" content="http://lorentzos.com/starbucks-netherlands-intel/" /> <Meta property="og:description" content="Today I had some free time at work. I wanted to play more with Foursquare APIs. So the question: "What is the correlation of the Starbucks Chain in the Netherlands?". Methodology: I found all the p..." /> <Meta property="og:site_name" content="dionysis Lorentzos" /> <Meta property="og:image" content="http://lorentzos.com/wp-content/uploads/2013/08/starbucks-intel-nl-238x300.png" />
在Facebook它很棒,或者你可以看到元数据here.然而LinkedIn更顽固,并没有真正解析数据,即使如果你无法在共享的页面中设置Open Graph标签,LinkedIn将尝试通过确定标题,描述,缩略图等自动获取内容.