Silverlight samples not working (but I can compile them)

Nov 10, 2009 at 6:48 AM

Hi All,

I'm trying to get the Silverlight sample project to work. To solve the compile problem I added references to the Facebook and System.Web.Silverlight DLLs. So the app compiles.

I've changed the App keys in MainPage.xaml

        private const string ApplicationKey = "MYKEY";
        private const string ApplicationSecret = "MYSECRET";

And changed the port for debugging to the port registered in my facebook app settings (e.g. localhost:2817) but when I click on the Sesson Login button the login pop is a blank page.

If clear all my cookies for all domains, the pop shows the facebook login. But once I've logged in, I get the blank page again.

Any ideas would be much appreciated.


Nov 11, 2009 at 6:45 AM

I fixed it.

It looks like FBConnect doesn't like localhost. So I added a FQDN to my hosts file and it all works.

Nov 25, 2009 at 2:54 AM

You are the man!