Reputation: 155
I know this seems like yet-another post on the subject but the other posts did not help me.
I'm trying to logout my facebook user from my webiste through c# SDK (version 5.4.1) but I can't find a single clue on how to do this. I only find how to do this with previous versions, or javascript logout (which I don't want). I've also seen this post Cannot Logout of Facebook with Facebook C# SDK but I don't know how to get the access token through C# SDK and I even don't know if this method is indeed working.
Thanks in advance.
Upvotes: 0
Views: 1022
Reputation: 7794
Navigate to https://www.facebook.com/logout.php?access_token=....&next=...
Make sure your next url is not any random url but the url which is part of the site url.
Upvotes: 1