[英]Missing assembely reference error after adding Facebook.dll using c# asp.net
I am working on login with Facebook in my app using c# asp.net.I added facebook.dll
inside Reference section but it is still showing the following error. 我正在使用c#asp.net在我的应用程序中使用Facebook登录。我在参考部分中添加了
facebook.dll
但仍显示以下错误。
Error:
错误:
The type of namespace name FacebookAPI does not exist in namespace Facebook.
Errors are coming the below line of my code. 错误出现在我的代码的下面一行。
Facebook.FacebookAPI api = new Facebook.FacebookAPI(GetAccessToken());
Please let me to know Is this version mismatch or what ? 请让我知道此版本不匹配还是什么? Please help me.
请帮我。
To be honest I don't see this FacebookAPI
class in SDK reference. 老实说,我在SDK参考中没有看到这个
FacebookAPI
类。 Maybe you are looking for some other class: 也许您正在寻找其他课程:
FacebookClient client = new Facebook.FacebookClient(GetAccessToken());
Are you sure you are referring to the latest SDK documentation? 您确定要参考最新的SDK文档吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.