且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我什么时候需要 fb:app_id 或 fb:admins?

更新时间:2021-11-07 22:17:22

在 HTML HEAD 中包含 fb:app_id 标签将允许 Facebook 抓取工具将该 URL 的 Open Graph 实体与应用.这将允许该应用的任何管理员查看有关该 URL 以及与其相关的任何社交插件的见解.

Including the fb:app_id tag in your HTML HEAD will allow the Facebook scraper to associate the Open Graph entity for that URL with an application. This will allow any admins of that app to view Insights about that URL and any social plugins connected with it.

fb:admins 标签与此类似,但允许您仅指定您想要授予执行上述操作权限的每个用户 ID.

The fb:admins tag is similar, but allows you to just specify each user ID that you would like to give the permission to do the above.

您可以包含这些标签中的一个或两者,具体取决于您想要管理洞察的人数等.fb:admins 几乎是最低要求.当人们分享和喜欢您的网址时,仍会选择其余的开放图谱标签,但这可能会在未来造成问题,因此请包括上述之一.

You can include either of these tags or both, depending on how many people you want to admin the Insights, etc. A single as fb:admins is pretty much a minimum requirement. The rest of the Open Graph tags will still be picked up when people share and like your URL, however it may cause problems in the future, so please include one of the above.

fb:admins 是这样指定的:
<meta property="fb:admins" content="USER_ID"/>

<meta property="fb:admins" content="USER_ID,USER_ID2,USER_ID3"/>

fb:admins is specified like this:
<meta property="fb:admins" content="USER_ID"/>
OR
<meta property="fb:admins" content="USER_ID,USER_ID2,USER_ID3"/>

和 fb:app_id 像这样:

and fb:app_id like this:
<meta property="fb:app_id" content="APPID"/>