Facebook App For — Pc Windows 10

private void Forward_Click(object sender, RoutedEventArgs e)

✅ Run the app – Facebook will load inside your window. a) Set window icon Add an .ico file (Facebook logo) to project → set as application icon. b) Disable right-click context menu (optional) webView.CoreWebView2.Settings.AreDefaultContextMenusEnabled = false; c) Add navigation buttons (Back, Forward, Reload) Add buttons in XAML: facebook app for pc windows 10

webView.CoreWebView2.Reload();

To clear data on logout (if needed):

private async void InitializeWebView()

await webView.EnsureCoreWebView2Async(null); webView.CoreWebView2.Navigate("https://www.facebook.com"); private void Forward_Click(object sender