URL <> did not respond

Mar 29, 2010 at 11:42 PM

I am building a FBML app (http://apps.facebook.com/fbinventory/inventory.aspx) and I am getting the following error:

"The URL http://facebook.liquidmotors.com/fbinve … ntory.aspx did not respond.

Please try again later. We appreciate your patience as the developers of AccuData Inventory Display and Facebook resolve this issue. Thanks!"

I am receiving 3 "posts" from facebook and the server is responing to all 3 requests.

I have tested that the web server accepts posts from outside our firewall to the page and returns a valid response (200) with valid data (FBML/HTML).

The app works fine as an IFrame app but I need an FBML app.

Thanks for any help.

Developer
Mar 30, 2010 at 2:41 AM

Make sure you do not have a body tag or any javascript references in your fbml.  Usually if it works in iframe and not in fbml, then this is usually the problem.  Work backwards with basic html and no body or head tags and see where it begins to break.

Mar 30, 2010 at 1:59 PM
Edited Mar 30, 2010 at 2:00 PM

jimzim,

thanks for the comments. My page could not be any simplier:

fb.master Page

@ Master Language="VB" AutoEventWireup="true" CodeBehind="fb.master.vb" Inherits="fbinventory.fb" %>

<asp:ContentPlaceHolder id="head" runat="server" />

 

 <asp:ContentPlaceHolder id="footer" runat="server" />

<asp:ContentPlaceHolder id="body" runat="server" />

Inventory.aspx page

 <% @ Page Language="vb" AutoEventWireup="true" MasterPageFile="fb.Master" CodeBehind="Inventory.aspx.vb" Inherits="fbinventory.Inventory" %>

 <% @ MasterType VirtualPath="~/fb.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"></asp:Content>

 <

asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server"></asp:Content>

  <h1>HELLLO WORLD!!!</h1>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="footer" Runat="Server"></asp:Content>

Developer
Mar 30, 2010 at 2:03 PM

Go to the url outside of facebook and look at what markeup is in the page by viewing source in the browser.  I see you have a head and body which is not legal for an fbml page.

 

Mar 30, 2010 at 2:18 PM

I have a head and body placeholder, not head and body html tags.  If you go to http://facebook.liquidmotors.com/fbinventory/inventory.aspx and view source there is no head or body tags.

Developer
Mar 30, 2010 at 2:23 PM

What is your callback url set to in facebook?  I just tried to go to that page in apps.facebook.com and got a blank screen, maybe you have sandbox on or something so i cant see.  anyway, make sure if your callback url it the base domain that you are adding the directory and file name after your apps.facebook.com/appname/dir/filename.aspx, etc.

Hope this helps.  Debugging can be very frustrating, esp with fbml.

Mar 30, 2010 at 3:52 PM

my callback url is http://facebook.liquidmotors.com/fbinventory/inventory.aspx?x=1