Facebook 的 amp-social-share 上的归因属性似乎不起作用

Attribution attribute on amp-social-share for Facebook doesn't seem to work

我正在尝试实施 AMP,当我转到 /url.html#development=1 时,Facebook amp-social-share 节点错误提示 "attribution is required"。但我在那个节点上有一个归属属性,它是一个有效的 Facebook AppID。

<amp-social-share type="facebook" attribution="[FBAppID]" width="60" height="44"></amp-social-share>

为什么 amp-social-share 节点会失败而其他三个节点可以正常工作?

我在 <head> 中也有这个,虽然我不确定是否有必要:

<script async="async" custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script>

这是还在建设中的东西吗?

看起来您使用的是属性属性,而不是数据属性。

https://github.com/ampproject/amphtml/blob/master/extensions/amp-social-share/amp-social-share.md#simple-examples

此示例显示将属性指定为元素属性。