How to I associate a web page with a Facebook page? Is fb:pages deprecated?

ⅰ亾dé卋堺 提交于 2019-12-23 15:16:20

问题


On a web page, I include

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

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

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:

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.

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.

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.)


回答1:


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.



来源:https://stackoverflow.com/questions/57637678/how-to-i-associate-a-web-page-with-a-facebook-page-is-fbpages-deprecated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!