2
Vote

Exception - Unable to cast object of type 'System.Int32' to type 'System.String'.

description

When I run the application with Canvas URL like (http://apps.facebook.com/application_name ) - it works fine, but with I use Canvas Callback URL (direct link to the web site ) - it fails.
 
Exception Information
 
Unable to cast object of type 'System.Int32' to type 'System.String'.
at Facebook.Service.Core.FacebookRequest.CreateSession(String authToken, String& userID, Boolean& expires, String& secret)
at Facebook.Web.FacebookFbmlSession.Initialize(HttpContext context)
at Facebook.Web.FacebookApplication.OnPagePreLoad(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
Please help me to resolve this issue.

comments

mitopoker wrote Jun 5, 2009 at 2:12 PM

i have the same problem

jytu wrote Jun 17, 2009 at 10:22 AM

Please help me to resolve this issue.

jytu wrote Jun 26, 2009 at 3:36 PM

Hello. Still can't fine the solution of this problem

jytu wrote Jul 8, 2009 at 1:43 PM

Please help me to resolve this issue.

jytu wrote Jul 9, 2009 at 2:12 PM

Please help me to resolve this issue.

wrote Sep 26, 2009 at 2:33 AM

wrote Feb 21, 2013 at 10:58 PM