void facebookBrowser_Navigated(Object sender, NavigationEventArgs e) { var fb = new FacebookClient(); FacebookOAuthResult oauthResult; if (!fb.TryParseOAuthCallbackUrl(e.Uri, out oauthResult)) { return; } if (oauthResult.IsSuccess) { _viewPresenter.LoginSucceeded(oauthResult); } else { _viewPresenter.LoginFailed(oauthResult); } }