I am trying to add multiple domains in my Facebook App but not succeeded as yet,
I have researched a lot and got that Facebook keeps changing its settings time to time , adding multiple domains was not possible initially but then they made it possible then again it was made unavailable.
But got no update if it can be done now,
Anyhow, I tried to put multiple domains but got error
App domains must match the domain of the Secure Canvas URL, Mobile Site
URL, Unity Binary URL, Site URL or Secure Page Tab URL. Please correct
these domains: www.chair.com, www.table.com
what does this error mean? and how to resolve it?
And is it possible to attach multiple domains with a single app?
Example of domains:
www.table.com
www.chair.com
www.desk.com
It's not possible, unless only the extension or subdomain is different.
e.g.
The following is possible:
table.com and table.co.uk and sub.table.com
The following is not:
table.com and chair.com
Related
I have a problem with facebook login on Presta Shop. I am using TemplateMonster Social login plugin (tmsociallogin). It worked a few months ago but now it stopped. I am receiveng error:
"Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings."
Urls and paths are set correctly in apps settings I think (correct domain, correct redirect URL, correct app domain). You can see my setting on screen shots below.
I have found a lot of answers but everywhere I've seen that I have to uncheck "Use Strict Mode for Redirect URIs" in fb app settings. I cant do that - this option is hardly checked as "Yes" and I can not do anything about that.
Please anybody help me :( Prestashop version 1.6
Apps settings 1
Apps settings 2
Facebook error
It happens because Facebook has changed a security policy and forbidden to use nonstrict mode for a redirect. But the module was using this option to redirect to the same page after login. So now it causes the issue. In order to solve this, you need to remove all mentions about a "back" parameter within all files which are related to Facebook login functionality. I don't know exactly your version of the module but I think the list of files will be the same
controllers/facebooklogin.php
controllers/facebookregistration.php
views/templates/hook/header-account.tpl
views/templates/hook/social-login-buttons.tpl
In the *.tpl files remove only that entities which are related to facebook.
And in your Facebook API you must to add two redirect URLs.:
Whether you use Friendly URL
- your_domain/module/tmsociallogin/facebooklink
- your_domain/module/tmsociallogin/facebooklogin
or not
- your_domain/index.php?fc=module&module=tmsociallogin&controller=facebooklogin
- your_domain/index.php?fc=module&module=tmsociallogin&controller=facebooklink
Also, if you aren't sure yet which mode are you gonna use then you can add all four variants.
I am creating an application to be able to log in with facebook on my page.
The problem is the following, I add without problem the following two domains:
www.fumigadorweb.com.ar
fumigadorweb.com.ar
The issue is that my site has two active domains, the other is elfumigadorweb.com.ar, the problem is that this domain is not allowing me to add it, it informs me of the following error:
Image - error
The application domains must match the Facebook web game URL domains
(https), mobile site URL, Unity binary URL, site URL, or secure URL of
the page tab. Fix the following domains:
I tried eliminating my other two records that it takes correctly, and adding only the one of the conflict, and neither did it.
Could you tell me what is the mistake I'm making? Do you need any other information?
From already thank you very much
elfumigadorweb.com.ar is not a sub domain of your website (http://www.fumigadorweb.com.ar). your website. Valid sub domains should have *.fumigadorweb.com.ar pattern in your case. If it could be el.fumigadorweb.com.ar instead of elfumigadorweb.com.ar then you could add it.
You have to create a new facebook app for elfumigadorweb.com.ar
I was creating a app in Facebook. Its for facebook comment box in my website. But when trying to add my domain, its showing an error like in the screenshot. I tried removing 'www.', adding 'http://' etc. But not use. I also tried some other domains. Still same error. Can any one tell me the reason.? pls
As the error message is already saying, the App Domain has to be derived from on of the listed URLs. To "fix" the issue, add "Website" as a platform, and set the URL to http://www.exklusiveconnextions.com, save it and you're done. You can now set the App Domain to exklusiveconnextions.com.
The new version of site is not ready yet.Thats why we use a subdomain.To make the link more user friendly we made the links to be like userName.site.com or at this point userName.dev.site.com instead of dev.site.com/userName
main url
dev.site.com
some example urls
jack.dev.site.com
stefan.dev.site.com
If i try to login in with facebook at this url dev.site.com , everything is ok. But when i go to jack.dev.site.com im not logged in anymore if i try to loggin, facebook returns an error.Then if i go to dev.site.com i'm actually logged.
I try with
document.domain = "dev.site.com";
with no effect. Any ideas ?
If I understand correctly you have 2 versions of your app, one is 'live' and one is 'beta'. Because these two versions reside in different sub-domains, you must create two apps on facebook. That is, the same app can't be hosted on two different subdomains.
I am trying to set up an app and like button on pages within my site. I thought I was all set but am getting the following error:
The app ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your app to be a prefix of....
I'm lost on how to fix this.
I recently ran in to this problem as well. Cost me quite a bit of time! It turns out that when you set your app domain, you also need to select an option from the list further down the page, with the header "Select how your app integrates with Facebook." Most likely you can just select the first option, and enter your domain.
If you don't do this it won't actually save your domain.
Your url is simply not allowed in your Application settings. (Basic Info -> App Domain) And allow your domain