I’m currently trying to get a Facebook App up and running.
But I get the following error-message, when I try to access the app URL:
Sorry, the application you were using is misconfigured. Please
try again later. Message for Developers Only: To fix this error,
please set your Canvas URL / Secure Canvas URL in the application
settings editor. Once it has been set, your users will be redirected
to that URL instead of this error page.
This is how my URLs is set up:
- Page Tab URL: http://www.somesite.dk/facebook/index.php
- Secure Page Tab URL: https://www.somesite.dk/facebook/index.php
- Page Tab Edit URL: http://www.somesite.dk/facebook/index.php
I’ve tested all URLs and they’re perfectly fine, https works.
My index.php only has the following content:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Facebook test</title>
</head>
<body>
<h1>Works!</h1>
</body>
Do I need to link to some files from the Facebook SDK to test my app? Facebook app dev is uncharted territory to me, so any hints on how to go about this is highly appreciated.
I have tried to configure your application, and had no problem to get it running. You can try it out here: https://apps.facebook.com/cbb-example/.
As Igy explained in his answer, you need to set the “Secure Canvas Url” not the “Secure Page Tab url”. See attached image.