-1

我已指定所有 OG 标签,但 Facebook 仍然无法读取我的网站。怎么了?

这是我的 HEAD 部分

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
  <base href="http://www.mojadebica.pl/kryminalne/1392-akcja-trzezwy-poranek-na-podkarpaciu" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="Dębica, pizzerie, pizza, wyszukiwarka, jedzenie, na, wynos, dyżury, aptek, noclegi, reklama, strony www, portal, informacje, ogłoszenia, repertuar kin, oferty, pracy, forum, org, nasza" />
  <meta name="og:image" content="http://www.mojadebica.pl/images/thumbs/poranek.jpg" />
  <meta name="og:type" content="article" />
  <meta name="title" content="Akcja 'Trzeźwy poranek' na Podkarpaciu" />
  <meta name="og:title" content="Portal MojaDebica.pl" />
  <meta name="og:url" content="http://www.mojadebica.pl/kryminalne/1392-akcja-trzezwy-poranek-na-podkarpaciu" />
  <meta name="og:site_name" content="E-max" />
  <meta name="og:description" content="Moja Dębica - najnowsze informacje i aktualności z Dębicy. Największa baza ofert pracy, ogłoszenia z dębicy i okolic oraz wyszukiwarka pizzy!" />
  <meta name="description" content="Moja Dębica - najnowsze informacje i aktualności z Dębicy. Największa baza ofert pracy, ogłoszenia z dębicy i okolic oraz wyszukiwarka pizzy!" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Akcja &quot;Trzeźwy poranek&quot; na Podkarpaciu</title>
  <link href="/templates/back-to-nature/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
  <link rel="stylesheet" href="/components/com_k2/css/k2.css" type="text/css" />
  <link rel="stylesheet" href="/components/com_jcomments/tpl/default/style.css?v=12" type="text/css" />
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/modal.js"></script>
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  <script type="text/javascript" src="/components/com_k2/js/k2.js"></script>
  <script type="text/javascript" src="/components/com_jcomments/js/jcomments-v2.1.js?v=7"></script>
  <script type="text/javascript" src="/components/com_jcomments/libraries/joomlatune/ajax.js?v=3"></script>
  <script type="text/javascript" src="/media/system/js/caption.js"></script>
  <script type="text/javascript">

        window.addEvent('domready', function() {

            SqueezeBox.initialize({});

            $$('a.modal').each(function(el) {
                el.addEvent('click', function(e) {
                    new Event(e).stop();
                    SqueezeBox.fromElement(el);
                });
            });
        });
var K2SitePath = '/';
  </script>

<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="/templates/mdnew/stylemd4.4.css" type="text/css" />
<link rel="shortcut icon" href="/templates/mdnew/favicon.ico" />    

<!--[if lte IE 6]>
<link href="/templates/back-to-nature/css/ieonly.css"  rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15391002-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>   

</head>

这是示例文章:

http://www.mojadebica.pl/video/1388-sonda-gdzie-jest-najlepsze-jedzenie-w-debicy-video-hd

缺少必需属性:“og:url”属性是必需的,但不存在。

但它在这里指定:

<meta name="og:url" content="http://www.mojadebica.pl/kryminalne/1392-akcja-trzezwy-poranek-na-podkarpaciu" />
4

1 回答 1

0

您的问题在于您的网络服务器配置。

在您的响应标头中,您的服务器正在发送Content-Encoding: none. 这是无效的。

那里可能有其他规则向Facebook 解析器发送403: Forbidden回复。

如果您使用 ISP 托管,请与他们联系以解决此问题。如果您正在滚动自己的服务器,则需要深入研究 LiteSpeed 文档。

于 2012-10-29T17:56:40.743 回答