Facebook SDK for .NET Core - facebook

Up until now I've been using Facebook SDK for .NET by https://hackerapp.com/
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.
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.
Does anyone know about 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

I don't know why you got a -1, but I am facing the same issue.
Therefore for now I am going to use the OAUTH provided by .Net then direct requests to the graph API...
The other option I know would be to have a look there:
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
I am thinking about porting a SDK to .Net Core, but that may be too much work!

Related

Facebook C# SDK - Which DLL to use?

I just downloaded the latest version of the Facebook C# SDK. I am migrating from the old Facebook Developer Toolkit.
I am using .Net 3.5 VS 2008. I will be using this SDK in Web and Console based apps. I noticed that the DLLs come in different flavors (Facebook, FacebookWeb, FacebookWebMvc). I am confused at to which one should I use for my Web and Console apps?
Also, what is the use for Facebook.Contracts.dll? Do I need to add it as a reference?
Any pointers?
UPDATE:
While trying to use the Facebook.Web.dll in my web app the following give me this error :"Precondition failed: !string.IsNullOrEmpty(settings.AppId)":
FacebookWebClient client = new FacebookWebClient(token);
The error goes away if I change it to:
FacebookClient client = new FacebookClient(token);
I am not sure why since there is VERY little documentation. So I guess I am going to stick to using the Facebook.dll for my Web app as well.
You need the Facebook assembly for any project; it is the core assembly and the others depend on it. Use just Facebook for your console application. Use Facebook + FacebookWeb for a Web Forms project. Use Facebook + FacebookWebMvc for an MVC project.

FaceBook C# SDK in .NET 2.0

I am using facebook registration plugin . Signed request that is sent to other page I need to extract data from it. I am having hardtime using Facebook C# SDK cause it starts with .NET 3.5 version while I am having a .NET 2.0 application.It shows all errors about assemblies.Is there any simple function I can include instead of using this whole SDK and complicating things more than I need.
Facebook C# SDK requires minimum of .net 3.5. .net 2.0 is not supported and will not be supported in future versions. The only way would be to update the framework to .net 3.5

Better Facebook SDK

I want to develop facebook iframe application and I have working experience of .NET and PHP. Can anyone help me figure out which is best SDK to use ( .NET or PHP). Which is better to use?
If you're best with PHP, I'd recommend using the official Facebook PHP SDK, otherwise you may want to check out Microsoft's Facebook SDK or Facebook's C# SDK.
I haven't has a chance to mess around with any .net SDK...
But, as far as Facebook SDK's go - the php one is quite satisfactory. I would try it first, then if you are not happy with it - go to the other one.
I think PHP is better than other, beacuse facebook is already using php in a development process...
I would recomend based on your command on the programming language. Both have SDKs to use facebook.
If you have good knowlege in both, better suggestive is PHP over .NET

.NET Facebook API

I'm new in Facebook API's, so I have a question cause I'm in seriously trouble with API's and Facebook's security politics!
I'm developing a WinForm socket application and needing Facebook integration for add a event to user's wall and I must use .NET 2.0
When I'm googling, I've found many sdk (for example; Facebook C# SDK -this one supports only 3.5 and 4.0-, Facebook.NET -this one supports 2.0 but it isn't working-, Microsoft Facebook Development Toolkit, etc.) but there are no working one with .NET 2.0, cause Facebook's security protocols perpetually changing.
Can anybody advice me a sdk or way for this scenario?
PS: Sorry for my English, I'm not native speaker though I've deal as possible as clearly.
Thank you in advance,
Luindale Ainion.
I'm afraid (due to the fact that 3.5 has been around since 2007) that all the .Net SDKs available need 3.5 or later.
You will have to create your own solution using the WebClient class and a lot of patience.

WCF with window mobile 6

I am a new to this technology. Can anyone instruct me how to integrate a WCF with windows mobile 6 using .net framework 3.5? i need work example with step by step please dont provide me any link.
Here in article on using using the Mobile WCF.
Write an IM App with the .NET Compact Framework
The code is here: http://msdn.microsoft.com/en-us/magazine/cc164255.aspx
There are lot's of articles on the Google search for 'WCF on windows mobile', but this one looks like the best into.