其他分享
首页 > 其他分享> > facebook分享不能显示图片链接问题

facebook分享不能显示图片链接问题

作者:互联网

<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" />
<meta property="og:type" content="article" />
<meta property="og:title" content="When Great Minds Don’t Think Alike" />
<meta property="og:description" content="How much does culture influence creative thinking?" />
<meta property="og:image" content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg" />

需要在HTML里面加入以上代码

<metaproperty="og:url"content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html"/><metaproperty="og:type"content="article"/><metaproperty="og:title"content="When Great Minds Don’t Think Alike"/><metaproperty="og:description"content="How much does culture influence creative thinking?"/><metaproperty="og:image"content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg"/>

标签:加入,代码,HTML,facebook,图片链接,分享
来源: https://www.cnblogs.com/yuesha/p/14320663.html