c# - Force authentification when connecting to Facebook app -


to access facebook app use :

https://graph.facebook.com/oauth/authorize?client_id=<app id>&redirect_uri=http://www.facebook.com/connect/login_success.html&type=user_agent&display=popup 

the problem have if navigate address before access token has expired, former user stay connected , facebook authentification page not shown.

so question : how can sure navigate authentification page ?

and question : possible clear previous email or phone on authentification page ?

thanks help.

answer first question :

var fb = new facebookclient(); var logouurl = fb.getlogouturl(new { access_token = _accesstoken, next = "https://www.facebook.com/connect/login_success.html" }); webbrowser.navigate(logouturl); 

http://blog.prabir.me/post/facebook-csharp-sdk-writing-your-first-facebook-application-v6.aspx


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -