prabirshrestha / FacebookSharp

Facebook Graph API for .Net
Other
30 stars 15 forks source link

porting on azure #26

Open arnab74 opened 13 years ago

arnab74 commented 13 years ago

hi, I created an app from cloud app template and added mvc2app to it which uses facebooksharp. The application is going to facebook auth page and after I use my email/pwd there is throwing the following error:

FacebookSharp.FacebookRequestException was unhandled by user code Message=Error occured while processing your Facebook request. Source=FacebookSharp.Core ContentLength=0 StackTrace: at FacebookSharp.Facebook.ExchangeAccessTokenForCode(String code, String applicationKey, String applicationSecret, String postAuthorizeUrl, String userAgent, Int64& expiresIn) in D:\projects\2911\prabirshrestha-FacebookSharp-v0.1.1.0-4-g57c8f4a\prabirshrestha-FacebookSharp-57c8f4a\src\FacebookSharp.Core\AccessToken.cs:line 48 at FacebookSharp.Web.Mvc.FacebookAuthenticationResultAttribute.OnActionExecuting(ActionExecutingContext filterContext) in D:\projects\2911\prabirshrestha-FacebookSharp-v0.1.1.0-4-g57c8f4a\prabirshrestha-FacebookSharp-57c8f4a\src\Facebooksharp.Web.Mvc\ActionFilters\FacebookAuthenticationResultAttribute.cs:line 39 at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) InnerException: The app is working on mvc2 properly but after I add it to cloud app is giving error. Thanks Arnab