iis - ASP.NET Cross-Domain Cookies & Facebook Connect -


I have a website that I integrate with Facebook (via FBML - Javascript API).

I have to normally setup the application on Facebook, to specify "Connect URL" as the domain of your website.

However, in my application IIS has multiple binding for the same website.

Like:

www.bar.com.au

foo.com.au

domain Completely different, there is no relation with any name - so a regex-style rule is not possible (i.e. base domain). Due to the combination of localization and marketing, the domains were separated. These domains are already cooked in the live website, in other words, I can not change this architecture.

Is this how I can specify both of these domains "Connect URL" for a Facebook application settings? Or do I have to make many applications?

Of course I can not use the "Base Domains" setting because the bins are not on the same sub-domain.

I really have around 7 bindings in my website - so I do not have to create 7 different Facebook applications - because this means that 7 sets of my API key / secret pair in my application Have to maintain

What is happening when IM on foobar.com.au, then Facebook cookies are not available for the domain.

In the meantime, I will try many APKs - but I think I can run in the issue. I am going to go: "If the domain is this, then use it apieke", then the same argument in every single call in the graph API. Messy stuff

So I think my problem / question is not actually due to Facebook connect, its design is the nature of HTTP cookies

I can easily copy these cookies to the domain How can i use Do I need to set up a third website and all cookie logic will have to be directed there?

If you want permission for * .foobar.com.au Set your base domain to foobar.com.au .


Comments