【发布时间】:2016-02-28 05:45:23
【问题描述】:
我有一个 php 网站,在 facebook 和 Sharethis 按钮和脚本上共享代码。 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
当我使用图表将页面显示为 facebook 获得的页面时,我根本找不到 head 标签。在php中它包含在每个页面中,并且我页面的源代码没有错误。
【问题讨论】:
标签: php facebook-graph-api sharing facebook-social-plugins