Facebook登录多个域 [英] Facebook login with multiple domains

查看:112
本文介绍了Facebook登录多个域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道Facebook允许我为我的应用程式指定多个域名。

I know that facebook allow me to specify multiple domains for my app.

但是在Facebook登录网站中,我只能指定一个网址。

But in the "Website with Facebook Login" i can only specify one url.

对我来说,是否有可能使用相同的App来验证domain.se,domain.dk和domain.net上的用户?还是应该为每个域创建一个应用程序?

Is it possible for me, to authenticate users on domain.se, domain.dk and domain.net with the same App ? Or should i still create one app, for each domain ?

推荐答案

只要列出所有所需的应用程序域在应用程序设置中,您应该可以对其中的任何用户进行身份验证。

As long as you listed all the desired App Domains in application settings you should be able to authenticate users on any of them.

具有Facebook登录的网站是

更新2(2016年7月):


应用程序域必须与安全画布URL,移动网站URL,Unity二进制URL,站点URL或安全页选项卡URL的域匹配。

App domains must match the domain of the Secure Canvas URL, Mobile Site URL, Unity Binary URL, Site URL or Secure Page Tab URL.

更新(2013年12月):

在撰写原始答案时,可能列出应用程序设置中的任何域,但从那时起,应用程序设置的UI(以及处理应用程序域)的方式至少改变了几次,在某些时候,您只能列出从ap之一派生的域

Update (December 2013):
At the time of writing original answer it was possible to list any domains in application settings but from that time the UI of Application Settings (as well as way of handling Application Domains) changed at least couple of times, at some point you could only list domains that derive from one of application's canvas pages.

截至2013年12月 ,可以(再次)列出域名这不是源自应用程序画布URL。

As of December 2013 it is possible (again) to list domains that do not derive from application canvas URL.

这篇关于Facebook登录多个域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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