Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Support for multiple domains does not work as advertised

In October, Facebook announced support for multiple domains for a single app. This is great news for developers whose apps have multiple domain aliases - no more iframe hacks to get the JavaScript SDK working regardless of which of your domains the user is viewing the page from!

Unfortunately, it does not seem to work as advertised.

In the blog post, they say:

Your App’s URL (Website and/or Mobile Web URL) must be derived from one of the domains listed in the App Domain field.

Which is reasonable enough, but the form in the developer app seems to be enforcing the converse policy. I have a pair of domains (say, abc.com and xyz.com) and the site URL set to (http://abc.com), and when I save I get the error message:

xyz.com must be derived from your Site URL or your Mobile Web URL.

Does anyone know a workaround for this problem? Or is this what they intended and the content of the blog post is wrong? If so it seems pretty silly, since it's hard to have multiple domains be derived from a single site URL.

I commented on the blog entry hoping that a Facebook engineer will see it... but in the mean time...

like image 515
David Claridge Avatar asked Dec 07 '11 04:12

David Claridge


People also ask

Can Azure AD support multiple domains?

Azure AD Connect can sync multiple domains or even multiple forests to a single Office 365 tenant/Azure AD instance. This capability is key for the merger and acquisition scenario I just described. Azure AD Connect is capable of synchronizing users and groups from disparate forests into a single Office 365 tenant.

Does having multiple domains help SEO?

As you can see, a multiple domain strategy is all about adding more power to your SEO strategy. Instead of ranking with just one domain, you can rank with multiple domains. This increases the chances that a user will click on a result that links to a site you own. It's a bit of an outside-the-box SEO strategy.

Can ADFS support multiple domains?

Multiple Issuer Supports As a result, you don't have to set up multiple instances of AD FS 2.0 federation server to support SSO for multiple top-level domains in Microsoft 365."


2 Answers

This is a known issue and is filed under

https://developers.facebook.com/bugs/288905901157023

You can help raise awareness and get it fixed by visiting the bug link on facebook and subscribing to it; facebook prioritizes defects by number of subscribers, so raising this number will also raise priority.

Please click the link above and subscribe!

Thanks! A.

like image 164
AndreasPizsa Avatar answered Sep 20 '22 18:09

AndreasPizsa


Yeah it's true enough that

Your App’s URL (Website and/or Mobile Web URL) must be derived from one of the domains listed in the App Domain field.

But their documentation should spell out that it's more like the other way around: the Site URL (and Mobile if present) dictates what domains are permitted in App Domain field, and they all have to be derived from the Site/Mobile URL. So you got it right, a.bc.com and d.bc.com would be allowed but not x.yz.com

like image 37
East of Nowhere Avatar answered Sep 19 '22 18:09

East of Nowhere