Hi
I'm having trouble trying to log out of facebook using the FB C # SDK.
Here is a sample of my test.
var oauth = new FacebookOAuthClient(); oauth.AppId = fbSection.AppId; string bbc = @"http://www.bbc.co.uk"; var logoutParameters = new Dictionary<string, object> {{ "next", bbc }} ; this.NavigateUrl = oauth.GetLogoutUrl(logoutParameters).AbsoluteUri;
The problem is that it always redirects to:
http:
I am trying to redirect to an external site in this case bbc.co.uk, since in the first case I tried to redirect to localhost and had the same problem.
I really would not want to implement a javascript solution, since I already implemented my server-side login function.
Any suggestions are greatly appreciated.
source share