"FBML Static Error","Failed to fetch required static file"
Stephane Arcos
17 posts
|
Hello, in application.fbml.erb I have : looking at the source code that facebook produce, the page try to load the css like that : the output of this call is : Any idea ? TIA. |
Spencer Ying
6 posts
|
Hello, Best of luck, |
Mike Mangino
310 posts
|
Spencer nailed it. Facebook is trying to fetch the stylesheet from your server and is failing. It looks like the callback_url is incorrect in your facebooker.yml Mike |
Stephane Arcos
17 posts
|
thanx guys, Stephane. |
Mike Mangino
310 posts
|
The images can be loaded from that address, because they don’t go through Facebook. The callback_url setup that appears to be incorrect is the one in your facebooker.yml file. Can you show us your facebooker.yml? Make sure to remove the secret key before pasting it in. |
Stephane Arcos
17 posts
|
Sure, thx for your time. my facebooker.yml : development: My settings at facebook : API Key
56ebcbc3ea33aa66f842346f8c06773c I know this is strange that my local callback_url does not match the one at facebook. But until the end of chapter five of your book everthing what working fine, I’m able to use FBML directly from my local server, thing I was not able to do before . http://66.130.xx.xxx:3000 is my home router adress and it has port 3000 forwarding to my laptop server at http://192.168.0.101:3000 TIA |
Mike Mangino
310 posts
|
Facebook needs to fetch your css and javascript files to parse them. Facebooker is using the 192… ip address which Facebook can’t access. Up until now, you haven’t done anything that requires communication from Facebook. Your setup has worked so far by accident. While your application is userable by you internally, it would not work from outside your network. |
Stephane Arcos
17 posts
|
Hum…I understand. This pretty much want I want to do though, doing FBML from my development environment. I was not able to do that with other language, thanx Facebooker !!! |
8 posts, 3 voices
