我什么时候需要 fb:app_id 或 fb:admins? [英] When do I need a fb:app_id or fb:admins?

查看:61
本文介绍了我什么时候需要 fb:app_id 或 fb:admins?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

facebook like 按钮的文档说:当您的网页代表现实世界的实体时,例如电影、运动队、名人和餐馆,请使用开放图谱协议来指定有关该实体的信息."

The doc for the facebook like button says , "When your Web page represents a real-world entity, things like movies, sports teams, celebrities, and restaurants, use the Open Graph protocol to specify information about the entity."

我正在向并非真正实体的博客文章/视频/文章添加点赞按钮.对?所以我不需要 fb:app_id 或 fb:admins?但是在创建喜欢按钮的第 2 步中说,获取开放图谱标签",当我使用 Linter 验证没有 fb:admins 和 fb:app_id 的喜欢按钮时,我得到一个fb:admins 和 fb:app_id 标签是不见了."

I'm adding like buttons to a blog posts/videos/articles which aren't really entities. Right? So I don't need fb:app_id or fb:admins? But then in step 2 of creating a like button is says, "Get Open Graph Tags" and when I use Linter to validate my like buttons without fb:admins and fb:app_id I get a "fb:admins and fb:app_id tags are missing."

如果事实证明我需要 fb:admins 和 fb:app_id 标签,我是否需要有 Facebook 点赞页面才能找到它们?

If it turns out that I need fb:admins and fb:app_id tags do I need to have a Facebook like page to find them?

也是 fb:admins AND fb:app_id 还是 fb:admins OR fb:app_id,我不知道我是否需要两者.

Also is it fb:admins AND fb:app_id or fb:admins OR fb:app_id, I can't tell if I need both or not.

在 graph.facebook/somepage 中它给出了一个 id,但那是什么 id?例如:如何为facebook meta获取fb:app_id

And in the graph.facebook/somepage it gives an id, but what id is that? For example: How to get fb:app_id for facebook meta

推荐答案

在 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"/>

这篇关于我什么时候需要 fb:app_id 或 fb:admins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆