This project is read-only.

Authorization error

Jul 10, 2011 at 5:27 AM



I'm getting the following error when trying to login.  Please help!


Exception Details: Facebook_Graph_Toolkit.FacebookException: OAuthException : Error validating verification code.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FacebookException: OAuthException : Error validating verification code.]
   Facebook_Graph_Toolkit.Helpers.WebResponseHelper.GetWebResponseObject(String url) +492
   Facebook_Graph_Toolkit.Helpers.WebResponseHelper.GetWebResponse(String url) +244
   Facebook_Graph_Toolkit.SocialPage.OnLoad(EventArgs e) +574
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Jul 15, 2011 at 12:52 PM
Edited Jul 15, 2011 at 12:53 PM

I think this might have to do with the authentication code expiring. There is a blog post here: but I am not sure that's it. I have the same error and will let you know if I figure it out

Jul 15, 2011 at 3:59 PM

Right on. If I find soemthing I'll post back the answer as well.

Jul 19, 2011 at 7:41 PM

Are you by any chance using a social page but inside an iframe?

Jul 22, 2011 at 5:09 PM
I figured this out.
The form was using "get". I changed this to "post" and all was good.
Jul 26, 2011 at 3:24 PM

Oh, interesting. I will have a look at that - thanks for reporting back