Custom Login

Dec 3, 2009 at 11:17 AM

Hi, I'm developing a WPF desktop application, and I would like to create my own custom login for facebook.
Currently I can only use the method ConnectToFacebook that launches a popup out my application.-

Anyone have a solution for create a nice login?

Dec 10, 2009 at 4:16 PM

Facebook requires that you display their webpage for login.  In my WPF app I integrated the login experience with the app by just hosting the WebBrowser control inline with some margins applied.  If you dim the area around it you can at least get a nice modal lightbox effect.

The source is available here:  Specifically you'd want to look at FacebookClient\ClientManager\View\LoginPage.xaml[.cs].  It doesn't use the FDT, but the patterns should be pretty similar.  I think you should be able to do something like this and then pass along the session information to the FDT. 

I hope that helps,