× Joomla Facebook Connect support forum

Topic-icon Error in two domains (.com and .com.br)

Active Subscriptions:

None
14 years 10 months ago #12273 by alecar
My site has two domains. How do I work both?
Ex: www.shoppingbarra.com/moda and www.shoppingbarra.com.br/moda
Thank you!
The topic has been locked.
Support Specialist
14 years 10 months ago #12275 by alzander
Unfortunately, you can't. A Facebook application can only be associated with one domain, so that when a user 'accepts' your application, it's for that domain. It will work across subdomains and directories, but not multiple sites.

If you weren't looking for authentication, the social plugins should all work on multiple sites without issue, but usually, authentication is a big part of what user's are looking for.

Hope that helps, but if you need more specifics for a certain usage case, just let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #12420 by remington
hello alecar,
as I can see you use the same content for both domains.
Right now it looks that your server is pointing to the folder in both domains and in that case alex is absolutely right.
But why don't you use forwarding instead of folder pointing. If you forward your .br domain to your .com then everything would be fine (I'm also using 4 domains and it's working perfectly with jfbc) because you would have only 1 domain which handles facebook.
hope that helps you.
The topic has been locked.