facebook上的简单共享代码错误OAuthException 104


simple sharing code on facebook error OAuthException 104

我有一个php网站,在facebook上共享代码,并共享此按钮和脚本。head标签包含fb:app_id、og:title、og:url、og:image,但调试url会显示以下错误

  {
   "error": {
   "message": "An access token is required to request this resource.",
   "type": "OAuthException",
   "code": 104,
   "fbtrace_id": "GO7opPlWLTI"
   }
 }

调试页面显示此错误

fb:app_id hasn't been included in the meta tags. Specify the app ID so that stories shared 
to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url 
when open the share dialog. Otherwise, the default app id( 966242223397117 ) will be assigned

当我用这个图来显示页面时,我根本找不到head标签。在php中,它包含在每个页面中,并且我的页面的源代码没有错误。

转到以下页面:https://www.facebook.com/insights

然后使用"创建应用程序"answers"添加您的域"按钮为您的网站生成应用程序id,以包含在网页上的元标签中。

<meta property="fb:admins" content="xxxxxxxx" />
<meta property="fb:app_id" content="yyyyyyyy" />