如何将网页与Facebook页面关联? fb:pages是否已弃用? [英] How to I associate a web page with a Facebook page? Is fb:pages deprecated?

查看:213
本文介绍了如何将网页与Facebook页面关联? fb:pages是否已弃用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在网页上,我包含

<meta property="fb:pages" content="123...">   

,以及各种打开的图形信息.我最近用该号码创建了该Facebook页面".

as well as various open graph info. I created that Facebook "page" with that number recently.

当链接在Facebook上共享时,og:image等有效,但是没有与我尝试链接的Facebook页面"的连接.而是,在共享的右上角有一个"i",它在关于此网站"的信息框中显示"Facebook页面:找不到". (我已将网址首先放在共享调试器中,然后将网址重新抓取了.)

When the link is shared on Facebook og:image etc. works, but there is no connection to the Facebook "page" I tried to link. Instead, there is an "i" in the top right corner of the share which gives an information box About This Website which says "Facebook Page: Not found for ". (I have put the url in the sharing debugger first and rescraped the url it there.)

我看到有一些方法可以在业务经理"中验证您对整个域的所有权(

I see that there are ways to verify your ownership of a whole domain in the "Business manager" (facebook documentation, but there it says:

您仍然可以将Open Graph标签添加到您的网站以指示所有权-这不需要使用Business Manager.您可以在打开图-对象属性"文档中找到有关实现fb:pages标记的更多信息.

You can still add Open Graph tags to your website to indicate ownership—this does not require the use of Business Manager. You can find more information about implementing the fb:pages tag in the Open Graph - Object Properties documentation.

因此,我认为fb:pages应该工作,并且我应该按照我的方式工作.不幸的是,该报价单中的链接现在指向不相关的文档.此外,Facebook的共享调试器在页面上的打开图"属性中显示fb:app_id.

So I think fb:pages is supposed to work, and I think it's supposed to work the way I did. Unfortunately, the link from that quote goes to irrelevant documentation now. Also, Facebook's Sharing Debugger shows fb:app_id among the Open Graph properties it found on the page.

另一方面,在其他文档中仅提及fb:app_id.因此,是否有可能在没有制作应用程序的情况下或在您的网页上包含更多Facebook交互性而仅在网页内声明应与之关联的Facebook页面"? (就像我以为fb_pages会起作用.)

On the other hand, there are other docs where only fb:app_id is mentioned. So is it still possible to without making an app or include more Facebook interactivity on your web pages to just state inside a web page which Facebook "page" it should be associated with? (Like I thought fb_pages would work.)

推荐答案

根据 Open Graph-对象属性文档,自2019年5月1日起,所有新发布的Open Graph故事都将呈现为新闻源中的纯链接共享". 打开图形标记也不再具有fb:pages元标记.一些基本标签,例如og:image仍在文档中.

According to the Open Graph - Object Properties documentation, "Effective May 1st, 2019, all newly published Open Graph stories will render as a plain link share in newsfeed". The Open Graph Markup also no longer has the fb:pages meta tag. Some basic tags, like og:image, are still documented.

那是...一个我不明白的决定.

That's... a decision I don't understand.

这篇关于如何将网页与Facebook页面关联? fb:pages是否已弃用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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