Facebook分享按钮不会抓取og标签(响应代码404)

时间:2015-11-05 13:25:04

标签: facebook button share response

当我点击this page上的分享按钮时,Facebook无法识别我通过og标记的参数。

问题似乎是Facebook正在获得#404; 404"响应代码,根据Open Graph Object Debuger

我检查了页面中的响应代码,并使用不同的工具获得了不同的结果:

http://tools.seobook.com/server-header-checker/ -> 404 Not Found
http://web-sniffer.net/ -> 404 Not Found
http://httpstatus.io/ -> 200 OK
https://monitorbacklinks.com/seo-tools/http-header-status-check -> 200 OK
http://www.axandra.com/free-online-seo-tool/status-code.php -> 200 OK

如果我telnet服务器,我得到一个" 301永久移动"并正确返回内容:

$ telnet mlgestion.es 80
Trying 46.105.153.112...
Connected to mlgestion.es.
Escape character is '^]'.
GET /es/Venta-Viviendas-Apartamento-Sur-Retamar-Almeria/59215/ HTTP/1.1
HOST: mlgestion.es

HTTP/1.1 301 Moved Permanently
Date: Thu, 05 Nov 2015 13:10:50 GMT
Server: Apache/2.2.23 (CentOS)
X-Powered-By: PHP/5.1.6
Location: //www.mlgestion.es/es/Venta-Viviendas-Apartamento-Sur-Retamar-Almeria/59215/
Vary: Accept-Encoding,User-Agent
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

950a
<!DOCTYPE HTML>
<html class="js" xml:lang="es" xmlns="http://www.w3.org/1999/xhtml" lang="es"><head>
<title>Apartamento en venta en Sur, Retamar, Almeria [Ref.59215]. 2 dormitorios</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="description" content="¿Quieres vivir en primera linea de playa a bajo coste? te presentamos este bonito apartamento ubicado en Retamar a 70 metros de la playa, en pleno paseo marítimo, residencial...">

<meta property="og:title" content="Venta Apartamento - Sur, Retamar, Almería [59215]" />
<meta property="og:image" content="http://mlgestion.es/_dat/100/44/fotos//59215/1-foto-800x535.jpg" />
<meta property="og:image:width" content="450"/>
<meta property="og:image:height" content="298"/>
<meta property="og:url" content="http://mlgestion.es/es/Venta-Viviendas-Apartamento-Sur-Retamar-Almeria/59215/" />
<meta property="og:description" content="Oportunidad en 1ª linea de playa ¿Quieres vivir en primera linea de playa a bajo coste? te pre
...

通过Facebook正确获取同一网站的其他网页(无照片)。

0 个答案:

没有答案
相关问题