简体   繁体   English

适用于 .NET Core 的 Facebook SDK

[英]Facebook SDK for .NET Core

Up until now I've been using Facebook SDK for .NET by https://hackerapp.com/到目前为止,我一直在通过https://hackerapp.com/使用 Facebook SDK for .NET

I want to upgrade my project to ASP.NET Core, but I see that their library doesn't have support for .NET Core - nor do they mention about upcoming support for .NET Core.我想将我的项目升级到 ASP.NET Core,但我发现他们的库不支持 .NET Core - 他们也没有提到即将对 .NET Core 的支持。

I can write an HTTP wrapper against Facebook API - but that seems like over-complicating my app - when there's a nice library that is made just for that.我可以针对 Facebook API 编写一个 HTTP 包装器 - 但这似乎使我的应用程序过于复杂 - 当有一个专门为此而制作的不错的库时。

Does anyone know about Facebook SDK for .NET Core?有人知道 Facebook SDK for .NET Core 吗?

So after not finding a solution, I've decided to develop my own some time ago.所以在没有找到解决方案之后,我前段时间决定开发自己的解决方案。 You may find here: https://github.com/developer82/FacebookCore你可以在这里找到: https : //github.com/developer82/FacebookCore

I don't know why you got a -1, but I am facing the same issue.我不知道你为什么得到 -1,但我面临同样的问题。 Therefore for now I am going to use the OAUTH provided by .Net then direct requests to the graph API...因此,现在我将使用 .Net 提供的 OAUTH,然后将请求直接发送到图形 API...

The other option I know would be to have a look there: https://github.com/Microsoft/winsdkfb我知道的另一个选择是看看那里: https : //github.com/Microsoft/winsdkfb

And there for some more advanced features: https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Facebook还有一些更高级的功能: https : //github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Facebook

I am thinking about porting a SDK to .Net Core, but that may be too much work!我正在考虑将 SDK 移植到 .Net Core,但这可能工作量太大了!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM