Facebook分享网址调试器警告

时间:2016-03-22 08:10:33

标签: javascript php facebook facebook-graph-api facebook-sharer

当我将我的网址输入facebook debugger时,我收到此消息:

Warnings That Should Be Fixed
1. Share App ID Missing        | The 'fb:app_id' property should be explicitly provided, 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.

如果我像这样添加我的Facebook页面ID:

<meta property="fb:page_id" content="{{ $app_id }}">

我收到此错误:

1. Extraneous Property        | Objects of this type do not allow properties named 'fb:page_id'.
2. Share App ID Missing       | The 'fb:app_id' property should be explicitly provided, 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.
3. Parser Mismatched Metadata | The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: 'fb:page_id'

有什么方法可以解决这个问题吗?

0 个答案:

没有答案