Urls for Application Homepage vs Profile Box

Dec 14, 2007 at 9:32 AM
Edited Dec 14, 2007 at 9:03 PM
I am somewhat perplexed by the Facebook API...
My goal is to have two distinct sets of contents, one for the Profile Box, the other for the Applications Homepage.

However, it seems that both point to the same URL: The one listed under "Side Nav URL"

I have noticed that the Profile Box will display what i send to FBService.SetFBML, while the application homepage will display any value assigned to base.Form.InnerHtml (base being Facebook.WebControls.CanvasFBMLBasePage).

so a couple questions:
1. Why not have two distinct pages in Fb app config?
2. I thought the applications page was a canvas page, so why does it not display the FBML?

Any help appreciated.

The code for the page is below:

using System;
using Facebook;
using Facebook.WebControls;

public partial class FbCanvas : CanvasFBMLBasePage
protected void Page_Load(object sender, EventArgs e)
base.Api = "FacebookApplicationKey";
base.Secret = "FacebookSecret";
base.Page_Load(sender, e);

if (!IsPostBack)
base.Form.InnerHtml = "some Facebook compliant HTML";
FBService.SetFBML("some Facebook compliant HTML");