Dio*_*lor 9 php wordpress linkedin opengraph facebook-opengraph
可以在此处找到Linkedin文档
正如它所说,它需要:
og:title
og:description
og:image
og:url
Run Code Online (Sandbox Code Playgroud)
这是我的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" />
Run Code Online (Sandbox Code Playgroud)
在Facebook它很棒,或者你可以在这里看到元数据.然而,LinkedIn更顽固,甚至没有真正解析数据If you're unable to set Open Graph tags within the page that's being shared, LinkedIn will attempt to fetch the content automatically by determining the title, description, thumbnail image, etc.
我知道我没有og:image:width标签,但Linkedin甚至没有解析标题,描述或网址.任何调试它的想法?
| 归档时间: |
|
| 查看次数: |
12778 次 |
| 最近记录: |