I am facing a strange issue in facebook developer console for adding a new domain in APP DOMAIN TEXTBOX.
Scenario:
I have already added 4 domains in APP DOMAIN TEXTBOX in facebook developer console for my app, but now when I am adding the 5th domain to link to my app it showing and Error is shown below.
App domains must match the domain of the Facebook Web Games URL
(https), Mobile Site URL, Unity Binary URL, Site URL or Secure Page
Tab URL. Please correct these domains: xyz.maindomain.com
As the error message is also clearly understood that the URL has to be part of the above-mentioned categories. But as I am done with all above provided categories where my URL's are appearing, I am not having the option to add the new URL for my new domain.
Can anyone suggest me that how can I add my new 5th domain??
Any help will be appreciated.
Thanks in advance.
Related
I've been doing a lot of facebook apps until now and everytime I had them on the same domain. No issues on any of them.
Now I started using another domain, I have the comodo SSL, but my apps are not working correct.
Evertything is setuped same like I did on the old domain.
Basically the first page of the app loads and than when I click to go to another page, I see in the link bar that it goes to:
http://domain.com/app_name/folder/request.php?code=AQCYkHOF0b3D755VtSWei498C13SvlF_bZ3GjUk8LnwBBQbaCAE9j1bPAkyyxId6hLbCv0-PuwfTkdjxn8sKmLnyL8ltYzg1nf5XD1lo1SPipHet-ZIMfuUWnqSmAJj9Mo2fB6mlUREBV7Lahh5k0MJTyERSDQ8IWrLJQqGmuq0oKe1L_IR1ZgIN1uLYmRXeq9ukRAFc463AcVXdIeLbkFmC2Y8nG8CdEshuA8oVWOgH9ezMFm0H8IVkcKKCJtDp9lSg6XxpL-5gHwPkxw5_e2xflEWrQp3NClBLNN9rOC4rY10yUqUrkTPMSAeGttnYwOo&state=ba25dbfe845349d548c04f6ba14deef8#_=_
redirects to the first page and in the console I get this message
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
I get this message in the console and when I open the app on the first page.
In the facebook developers I setuped the:
- canvas page
- website
- page tab
Practically I did same like I was doing on the old domain, now if I move the app on the old domain and modify the path in the facebook devleopers is working fine.
Any thoughts?
You need to set the domains of the app in the developers site
If you try to run FB.init in the Javascript SDK from a page in a domain other that the ones you've set - you'll get this error
Note that you can only set domains that are mentioned in one of the following settings in the Facebook developers site:
Canvas URL
Website URL
Page Tab URL
Setting the domain should be as follow:
If your app loads from http://sub.domain.com/ you can put either domain.com or sub.domain.com - I recommended setting the highest level that you have administrative permissions for (if you're hosting on http://myaccount.some-service.cloud-provider.com don't put cloud-provider.com because if you do - all the other clients of that provider will be allowed to use your app id using the JavaScript SDK)
Hi I've created an app for Windows Phone 8 using the ContosoSocial Facebook login interface.
It uses the following call to do this:
FacebookSessionClient fb = new FacebookSessionClient(AppId);
fb.LoginWithApp("basic_info,publish_actions,read_stream", "custom_state_string");
This works fine when I use the default AppId but when I change it to the one given by Facebook following app registeration I get the following error:
Given URL is not premitted by the application cofiguration.: One or more of the given URL's is not allowed by the App's settings. It must match the website URL or Canvas URL, or the app domain must be a subdomain of one of the Apps domains..?
I've searched and this problem has come up on several occations and as far as I can work out it's to do with my app settings on Facebook.? Facebook asks for an App Domain which I've left blank as I'm not sure what this is or used for..? Do I need one..?
I've followed several tutorials Scrumptious but then all show a different app registration process on the screens than I'm faced with. A little research revealed that Facebook has recently changed the process which is making it even more confusing for me. I would appreciate some help here.
I want to create an app which will pull in a news feed direct into a panoramic item on the app's main screen.
Many thanks
EDIT: I've tried adding my web site URL to the app domain by I get the following error: This must be derived from Canvas URL, Secure Canvas URL, Unity Binary URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: ***************
Below is the screen shot for configuring app:
Store ID, Application Name & Windows Store Beta ID removed, I'm now getting the following error:
App Not Setup: The developers of this app have not setup the app properly for Facebook Login. ?
Go to Advanced Settings in your developers.facebook.com/apps/ of your app and check that "Embedded browser OAuth Login" is enabled and set to Yes.
I have a web application at Facebook. Recently, some of our users submitted reports regarding the url changes in the top search bar.
http://apps.facebook.com/xyz?fb_source=search
is converted to
https://m.facebook.com/apps/xyz?fb_source=search&ref=br_tf
We don't have a mobile application yet but url somehow redirects to m.facebook.com domain.
How can I fix this error?
Thanks.
I tried to enter the domain while making facebook apps but the following erroe occurs.
Error
You have specified an App Domain but have not specified a valid integration URL.
rankfrod.com must be derived from one of: Site URL, Mobile Site URL, Canvas URL, Secure Canvas URL, Page Tab URL or Secure Page Tab URL.
What does this error tells, I have tried to enter a valid url i.e rankford.com,
Well if you scroll down a bit in the settings page you will see,
"Select how your app integrates with Facebook"
There you enter your URL for the integration and the app domain is derived from that one.
I.E
You're making an IOS Application, check the IOS Native Application,
Enter Site URL as http://www.rankfrod.com and then in your app domain you can do appfrod.com.
Good luck!
What is App Domain used for in Facebook Apps?
Somebody had asked the same in What are App Domains in Facebook Apps? but I didn't really get it.
What I am trying to do is "publish actions" from a mobile app. The object to be published must be stored in a separate web page. And the domain of the separate page is supposed to be included in app domains.
Is app domain applicable for Mobile apps as well?
Well AppDomain simply means where is located your application's server side files.
Your application only usable from that domain. Facebook needs data for cross domain and security issues.
Unless you're going to use FB auth for a website you don't need to fill App Domain input.
I encountered the same issue for my mobile app. To fix it, I set the App Domain to my domain. But that wasn't enough because I then got the error:
Error
You have specified an App Domains but have not specified a Site URL or a Mobile Web URL
puurbuy.com must be derived from your Site URL or your Mobile Web URL.
So I had to go one step further and enable "Website with Facebook Login" setting the URL to my homepage, even though I do not have a Facebook login on my website. A terrible work around in my opinion, but it worked.
Because not using Sandbox Mode:
1. Had to establish a category on appdetails page
2. Had to set Website with Facebook Login
3. Then able to set App Domain
Now the debug pulls in the correct information without error.
App domain is not something related to your app or web domain, this is basically a App Store address.
Simply write this line in App Domains.
apps.apple.com
this worked for me.