是否有可能配置在多个领域中使用的Facebook应用程序? [英] Is it possible to configure a Facebook app to be used across multiple domains?

查看:161
本文介绍了是否有可能配置在多个领域中使用的Facebook应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个部署和定制多个客户,在不同域的网站应用程序,我们正在开发本网站内的Facebook连接的应用程序,让人们可以看到他们的朋友通过我们的网站做的事情。

We have a website application that is deployed and customised for multiple customers, across different domains, we are developing a Facebook Connect app within this website, so people can see what their friends are doing through our sites.

我已经设置在我的Facebook应用程序的网站的网址和帆布网址以我的本地主机进行调试,我在想,如果我想使用跨多个域的这个应用程序是什么?将Facebook的只允许回发到每个应用程序一个域?是否可以配置多个域?

I've set the site url and canvas url in my Facebook app to my localhost for debugging, I was wondering, what if I wanted to use this application across multiple domains? Will facebook only allow postback to one domain per application? Is it possible to configure multiple domains?

修改如果这是不可能的怎么大公司要管理多个域?它必须被设置为每个应用程序一个域还是有办法编程添加到code吗?

EDIT If this isn't possible how are large companies managing multiple domains? Will it have to be setup as one domain per application or is there a way to programatically add a new application through code?

修改目前在这个问题上<进一步讨论href=\"http://stackoverflow.com/questions/4431574/facebook-connect-for-one-application-with-multiple-domains\">here

推荐答案

不幸的是,二零一一年九月三十零日博客文章是在误导的方式措辞。相关章节是在开发应用多​​个域的支持。读这一段,似乎有在方面没有限制,其中域可以一起下一个应用程序一概而论。

Unfortunately, the September 30, 2011 blog post is worded in a misleading way. The relevant section is "Support for Multiple Domains in the Developer App." Reading that paragraph, it would appear that there are no restrictions in terms of which domains can be lumped together under one application.

然而,当我尝试添加第二个域到现有的应用程序时,我收到一条错误消息说,新域必须从网站URL得到。一<一href=\"http://developers.facebook.com/blog/post/570/?fb_comment_id=fbc_10150304381026059_18684507_10150310598731059#uk4s7e_2\">comment在该博客中描述类似的经历。这限制是由别人在Facebook的开发者关系的评论的回复确认,并解释说,所有的应用程序域必须从网站的网址来的。

However, when I tried adding a second domain to an existing application, I received an error message saying that the new domain must be derived from the Site URL. One comment on that blog post described a similar experience. And that restriction was confirmed by a reply to that comment by someone in Developer Relations at Facebook, explaining that "All app domains must be derived from the site URL."

我相信的混乱产生于职位本身,它说不正确的措辞你的应用程序的URL(网址和/或移动网络URL)必须在应用程序域字段中列出的领域之一来的。

I believe the confusion arises from incorrect wording in the post itself, which says "Your App’s URL (Website and/or Mobile Web URL) must be derived from one of the domains listed in the App Domain field."

*的更新:只是为了澄清允许哪些类型的域,让我们说你的网站URL为mywebsite.com。您的的被允许增加mywebsite.co.uk作为一个附加的应用程序域,但是你的的被允许添加myalternatewebsite.com。

*Update: Just to clarify what types of domains are allowed, let's say your Site URL is "mywebsite.com". You would be allowed to add "mywebsite.co.uk" as an additional App Domain, but you would not be allowed to add "myalternatewebsite.com".

这篇关于是否有可能配置在多个领域中使用的Facebook应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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