Hi,
I have implemented FB login by following your article.
https://www.aspsnippets.com/Articles/Login-with-FaceBook-account-in-ASPNet-Website.aspx
It's working fine for the first time..
If user is already logged in to Facebook in the same browser, then Login is not working.. An error is occured. Please help me to solve this. The error is given below.
System.NullReferenceException: Object reference not set to an instance of an object.
at ASPSnippets.FaceBookAPI.FaceBookConnect.?12?(WebException ?26?)
at ASPSnippets.FaceBookAPI.FaceBookConnect.?8?(String ?23?)
at ASPSnippets.FaceBookAPI.FaceBookConnect.Fetch(String ?16?, String ?17?)
at Login.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)