Multiple Facebook app_id on same url

心不动则不痛 提交于 2019-12-07 12:17:40

问题


Is it possible to have two Facebook App Ids on the same page? We wish to do this as we are adding a new Facebook app to a network of sites but want to avoid having to update each individual site's app. If we can have multiple apps we will be able to maintain a single app across all sites, while retaining the functionality of the legacy apps on the sites.

eg adding two open graph tags for app_id (Facebook linter seems to pick up both but I'm not sure if this will create other problems/complications):

<meta property="fb:app_id" content="{APP ID 1}" /> 
<meta property="fb:app_id" content="{APP ID 2}" />

回答1:


Sorry, no. We only allow a single app per page. I think the first one wins in our system. You can query it easily by visiting the graph API for that URL (the link is in the linter).



来源:https://stackoverflow.com/questions/13262354/multiple-facebook-app-id-on-same-url

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