Open prabirshrestha opened 12 years ago
use fb.GetLogoutUrl() method.
I did - and I get a URI - but what follows next? and what are the parameters I have to pass got "GetLogoutUrl"? I know the logout URL (and several possibilities) http://dotnetslackers.com/articles/net/wp7Gesicht-windows-phone-7-facebook-integration-part-3.aspx#s8-logout-is-crazy--facebook-wont-let-you-go BUT this does not mean that I can get it working on WP7. So my hope was that you have deeper knoeledge... And that you can / will implement it.
By the way - the solution I posted on dotnetslackers worked years ago - but there have been changes in the SDK...
checkout winforms sample on how to logout. https://github.com/facebook-csharp-sdk/facebook-winforms-sample
feel free to send us a pull request for wp7 logout.
var logoutUrl = fb.GetLogoutUrl(new
{
next = "https://www.facebook.com/connect/login_success.html",
access_token = _accessToken
});
Once you get the logout url navigate your browser control the the url.
I got it :) Thank you for this - my problem was that I formatted the logout URI a bit different. Which works on iOS but not on WP7. checking your logout URI I found the difference - gave it a try - and it works like a charm :)
Hi I download the sample facebook-csharp-sdk / facebook-windows-phone-sample from this site, but in sample application the facebook.dll is missing/ not found the facebook reference, but in facebook-csharp-sdk zip also missing this dll.
from where i need to download this facebook.dll Thanks Rajesh
Would really be great - I played around for hours trying to get a logout on WP7 Without success....