我的元标记格式正确 我的代码工作正常。问题是,当我更改说明和标题,然后发布行动。我仍然在帖子中得到了旧的标题和描述。为什么它显示旧的描述和标题。它是facebook open graph api中的错误吗?请回复
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# site: http://ogp.me/ns/fb/site#">
<meta property="fb:app_id" content="7777777777777" />
<meta property="og:type" content="site:deal" />
<meta property="og:url" content="http://www.site.com/deal_success.php" />
<meta property="og:title" content="war" />
<meta property="og:image" content="http://site.com/images/logo.png" />
<meta property="og:description" content="ola ola ola ola"/>
<meta property="og:site_name" content="site.com"/>
function downloadCoupon(url)
{
FB.api(
'/me/winery-site:object',
'post',
{ deal: 'http://www.site.com/page.php' },
function(response) {
//alert(response);
if (!response || response.error) {
console.log(response.error);
alert('Earror occured'); return;
document.location=url;
} else {
alert('Cook was successful! Action ID: ' + response.id);
return;
document.location=url;
}
});
}