5.0.9 error on Exchange code for access token

我是研究僧i 提交于 2019-12-02 09:04:49

问题


I've followed "Getting Started with an ASP.NET MVC 3 Website" and it has worked fine (5.0.8) until I updated the SDK to 5.0.9.

I've got this error when trying to exchange code for access token:

Unexpected character encountered while parsing value: a. Line 1, position 1.

It occurs at

dynamic tokenResult = oAuthClient.ExchangeCodeForAccessToken(code);

The "code" is correct as it used to be.

Any ideas?

Thanks


回答1:


I had the same problem, I solved it downloading the source code from CodePlex and compiling again the Facebook.dll. With the one that I downloaded from NuGet I had the same problem that you are having now.



来源:https://stackoverflow.com/questions/5609069/5-0-9-error-on-exchange-code-for-access-token

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!