0

我有我在测试中使用的这段代码,open graphic这是下面的代码:

<html>
<head>
    <meta charset="UTF-8" />
    <title>THE KING</title>
    <meta name="robots" content="Just About Me" />
    <meta name="description" content="All You Should Know About Me" />
    <meta property="og:locale" content="en_US"/>
    <meta property="og:type" content="article"/>
    <meta property="og:title" content="Just About Me"/>
    <meta property="og:description" content="All You Should Know About Me"/>
    <meta property="og:url" content="http://share.stephensangkn.org"/>
    <meta property="article:section" content="The King"/>
    <meta property="article:published_time" content="2016-07-31 15:58:30"/>
    <meta property="article:modified_time" content="2016-07-31 15:58:30"/>
    <meta property="og:image" content="http://share.stephensangkn.org/images/me.jpg"/>
    <script src="js/jquery.js"></script>
</head>
<body>
    <h2>THE KING</h2>
    <img src="images/me.jpg" style="max-width:500px;max-height:500px" /><br>
    <a style="cursor:pointer;">share</a>
    <script>
        url = "https://facebook.com/sharer.php?u=http://share.stephensangkn.org";
        W = "500";
        H = "800";
        $('a').click(function(){
            window.open(url, '', 'width='+W+',height='+H);
        });
    </script>
</body>
</html>

但问题是当 Facebook 页面打开时图像拒绝显示,我什至更改了图像仍然是相同的结果。这是我的页面的链接。请问有什么帮助吗?

4

1 回答 1

0

我确实尝试过你的代码,我观察到你的抱怨,但我在我的 Facebook 页面上分享了链接,它在你的链接上显示了同一张照片,所以尝试分享一下看看

于 2016-07-31T16:40:29.690 回答