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
Related
I have been using Egor Bogatov's Toasts.Forms.Plugin v2.0.4 to display success/failure/info messages to users. After migrating to .Net Standard I needed to upgrade the plugin, since that version supports .Net Framework. Unfortunately the 3+ version has morphed into a notification framework and does not fit our needs. Is there an alternate plugin that supports .Net Standard and simply displays a message for a set length of time?
you can use Plugin.Toast v 2.1.1 to display message, warning, error success and create your custom toast. It's available for iOS and Android projects
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!
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.
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.
I have an application developed using .net framework 4. I also have a DLL component developed in .net framework 2. Is it possible for me to call a component that was developed in .net framework 2? How do I do that?
In general, yes. The .NET frameworks are 99% backwards compatible; very rarely are there breaking changes. Just add the DLL to your .NET 4 project as a reference as you usually do. If there are compile problems, post the specific errors.