Session Secret key is blank

Oct 1, 2010 at 12:38 PM
Edited Oct 1, 2010 at 1:15 PM
Hi there

Using the FDT i have managed to create a silverlight application that runs on a canvas iframe of facebook. My problem comes in when i want to get the users friendlist.

Using the properties sent through the sig_iframe i can get the session key and user id, but for some reason the session secret key is blank.

My code is as follows:

protected string InitParams { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            Facebook.Rest.Api API = Master.Api;
            Label1.Text = "Your session secret key is meant to be: " +API.Session.SessionSecret;
            InitParams = string.Format("userId={0}, sessionKey={1}, sessionSecret={2}, appKey={3}", API.Users.GetLoggedInUser(), API.Session.SessionKey, API.Session.SessionSecret, API.Session.ApplicationKey);
        }

where my master page just inherits from

Facebook.Web.CanvasIframeMasterPage

can anybody tell me why API.Session.SessionSecret is returning me an empty string?

I am using c# and asp. net all .net 3.5, The page load is from the default.aspx.cs.