I am working on facebook application and I wanted to logout from the facebook application so I am usgin https://www.facebook.com/logout.php? but it will not log out and reload to the facebook.com so I am using WebBrowser. my code look like.
string LogoutUri = "https://www.facebook.com/logout.php?";
if (uri!=null)
{
if (uri.Contains("https://www.facebook.com/logout.php?"))
{
browser.Focus();
browser.Navigate(new Uri(LogoutUri, UriKind.RelativeOrAbsolute));
}
}
I am using WPF C# for facebook application.
Thank you..!!