请帮助Facebook生日应用程序mvc演示 [英] please help in Facebook Birthday App mvc Demo

查看:150
本文介绍了请帮助Facebook生日应用程序mvc演示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://www.asp.net/mvc/tutorials/mvc-4/aspnet-mvc-facebook-birthday -app [ ^ ]



i我尝试开发这个应用程序作为演示但是得到错误没有得到它来自



无法将字符串转换为整数:public_profile。路径'data [0] .permission',第1行,第39位。

描述:在执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。

异常详细信息:Newtonsoft.Json.JsonReaderException:无法将字符串转换为整数:public_profile。路径'数据[0] .permission',第1行,第39位。

解决方案

https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues/293 [<一个href =https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues/293target =_ blanktitle =新窗口> ^ ]


嘿,你可以参考下面的文章:



http://www.c-sharpcorner.com/UploadFile/4b0136/social-provider-access-in-web-application-与-MVC-5 /

1。将库Microsoft.AspNet.Mvc.Facebook替换为Microsoft.AspNet.Facebook

2.(Ctrl + Shift + H)将Microsoft.AspNet.Mvc.Facebook替换为Microsoft.AspNet.Facebook整个解决方案



http://bloglaptrinh.tk/kien-thuc-chung/facebook-app-viet-ung-dung-facebook-canvas-bang-mvc/ [ ^ ]

http://www.asp.net/mvc/tutorials/mvc-4/aspnet-mvc-facebook-birthday-app[^]

i am try to develop this app as demo but getting error not getting where it coming from

Could not convert string to integer: public_profile. Path 'data[0].permission', line 1, position 39.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Newtonsoft.Json.JsonReaderException: Could not convert string to integer: public_profile. Path 'data[0].permission', line 1, position 39.

解决方案

https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues/293[^]


hey you can refer to the following article:

http://www.c-sharpcorner.com/UploadFile/4b0136/social-provider-access-in-web-application-with-mvc-5/


1. Replace library Microsoft.AspNet.Mvc.Facebook with Microsoft.AspNet.Facebook
2. (Ctrl + Shift + H) replace "Microsoft.AspNet.Mvc.Facebook" with "Microsoft.AspNet.Facebook" in entire solution

http://bloglaptrinh.tk/kien-thuc-chung/facebook-app-viet-ung-dung-facebook-canvas-bang-mvc/[^]


这篇关于请帮助Facebook生日应用程序mvc演示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆