Facebook Open Graph 不更新
Facebook Open Graph doesnt update
嗨!
有人可以告诉我是否可以强制 facebook 对任何人添加的每个新 "ajax"-url 进行新扫描。我想 link 来自我们汽车俱乐部的用户配置文件,但是..请参阅..
从第一点开始:
0) I have this URL:
用户-Url:https://XXXXX-carclub.at/#!/facebook
1) Pass Open-Graph Request in index.php with:
if (preg_match("/facebookexternalhit/is", $_SERVER['HTTP_USER_AGENT'])) {
include("./includes/opengraph/facebook.php");
exit();
}
2) Give this output to the Crawler: (With body, etc.)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<title>XXXXXXAustria - OpenGraph</title>
<!-- Facebook Open Graph Meta Tags -->
<meta property="og:title" content="Audi A4, 2.5 TDI Quattro von Christoph Eder" />
<meta property="fb:app_id" content="XXXXXX"/>
<meta property="fb:admins" content="XXXXXX"/>
<meta property="og:type" content="article" />
<meta property="og:url" content="https://url.at/#!/facebook" />
<meta property="og:image" content="https://url.at/images/membercars/1_1.jpg" />
<meta property="og:site_name" content="XXXXXX-Carclub.at" />
<meta property="og:description" content="16'' Stahlfelgen, Audi Originalfahrwerk, ..." />
</head>
3) Start open-graph debugger and got this result:
4) Put URL into status-update, got preview with text from the start-page:
5) Finally, in the update(post) i have this result, with the right text but wrong image..
看看
也许你也应该让 Facebot
通过。你看过你的日志了吗? FB 请求显示哪个用户代理等?
嗨!
有人可以告诉我是否可以强制 facebook 对任何人添加的每个新 "ajax"-url 进行新扫描。我想 link 来自我们汽车俱乐部的用户配置文件,但是..请参阅..
从第一点开始:
0) I have this URL:
用户-Url:https://XXXXX-carclub.at/#!/facebook
1) Pass Open-Graph Request in index.php with:
if (preg_match("/facebookexternalhit/is", $_SERVER['HTTP_USER_AGENT'])) {
include("./includes/opengraph/facebook.php");
exit();
}
2) Give this output to the Crawler: (With body, etc.)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<title>XXXXXXAustria - OpenGraph</title>
<!-- Facebook Open Graph Meta Tags -->
<meta property="og:title" content="Audi A4, 2.5 TDI Quattro von Christoph Eder" />
<meta property="fb:app_id" content="XXXXXX"/>
<meta property="fb:admins" content="XXXXXX"/>
<meta property="og:type" content="article" />
<meta property="og:url" content="https://url.at/#!/facebook" />
<meta property="og:image" content="https://url.at/images/membercars/1_1.jpg" />
<meta property="og:site_name" content="XXXXXX-Carclub.at" />
<meta property="og:description" content="16'' Stahlfelgen, Audi Originalfahrwerk, ..." />
</head>
3) Start open-graph debugger and got this result:
4) Put URL into status-update, got preview with text from the start-page:
5) Finally, in the update(post) i have this result, with the right text but wrong image..
看看
也许你也应该让 Facebot
通过。你看过你的日志了吗? FB 请求显示哪个用户代理等?