Interaction between Facebook Desktop access in WPF 3.0 and current IE7 browser session.

Apr 12, 2010 at 5:54 PM

I am logged into my Facebook account in IE7.

In my WPF 3.0 desktop application, I login to get a session and I am logged out of my Facebook browser session.

In my UserControl class definition, I have -

private List<Facebook.Schema.Enums.ExtendedPermissions> permissions = new List<Facebook.Schema.Enums.ExtendedPermissions>();

In my UserControl constructor, I have -

Facebook.Schema.Enums.ExtendedPermissions offline = Facebook.Schema.Enums.ExtendedPermissions.offline_access;

Facebook.Schema.Enums.ExtendedPermissions publish = Facebook.Schema.Enums.ExtendedPermissions.publish_stream;

permissions.Add(offline);

permissions.Add(publish);

At some point in my application, I call -

DesktopSession session = new DesktopSession(facebookPublicApiKey, true, permissions);

session.Login();

etc.

Logging into Facebook in WPF ("session.Login") logs me out of Facebook in the browser. Is this expected? Is there a way to keep a connection to both?