1

我的元标记格式正确,我的代码运行良好。问题是当我更改描述和标题然后发布操作时。我仍然在帖子中得到旧的标题和描述。为什么它显示旧的描述和标题。它是 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;
                   }
                }); 


}
4

0 回答 0