Microsoft SDK for Facebook Platform
From Facebook Developer Wiki
This toolkit (also known as the Facebook .NET SDK) is provided as a Facebook Client Library similar to Facebook's PHP Client Library or Facebook's JavaScript Client Library. The goal is to enable .NET developers to quickly and easily leverage the various features of the Facebook Platform. This toolkit has evolved over time with input from the community and from Microsoft. The latest release (v3.0) cleans up some architecture inconsistencies and provides an asynchronous interface to improve using the toolkit from Silverlight and from WPF.
The main entry point is the Api (Facebook.Rest.Api) class in the Facebook.dll assembly. This class wraps the Facebook REST API and provides an easy to use interface for calling the different methods currently available in the Facebook API. The toolkit also provides samples and tools for helping develop facebook applications in the various .NET platforms including: Asp.NET, Silverlight, WPF and Winforms. Additionally, we’ve provided all the source code for the API, components, controls and samples for you to explore.
The toolkit comprises the following core assemblies.
- Facebook.dll
- This is the main assembly that will be used by all applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications (Silverlight and WPF) to enhance the Facebook platform to make databinding and data cacheing easier.
- Facebook.Silverlight.dll
- This is the silverlight version of the main assembly that will be used by all silverlight applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications to enhance the Facebook platform to make databinding and data cacheing easier. The Rest api in this assembly is Asynchronous only.
- Facebook.Web.dll
- This assembly should be used by Canvas applications. The main functionality supported in this assembly is to encapsulate the handshake between the facebook application and a canvas application (both FBML and IFrame).
- Facebook.Web.Mvc.dll
- Provide a support building canvas applications using Asp.net MVC. Separated from Facebook.Web.dll to avoid all developers from needing to install the MVC bits.
- Facebook.Winforms.dll
- This assembly provides support for writing facebook applications using Winform technology. This provides a Component that wraps the Api to make it easier to use from Winforms. This also contains some user controls to help display facebook data easily.
The Facebook .NET SDK supports many common platforms and technologies; use the quick links below to jump straight to your area of interest.
Contents |
ASP.NET
Additional Platforms
Facebook Platform
Downloading the SDKs
To download the SDK, go to either:
- Microsoft SDK for Facebook Platform
- Codeplex: Please use the discussion board and issue tracker on Codeplex for future enhancements to the toolkit.
- Use this wiki page for best practices, hints, etc. Please note that all the suggestions that were on this wiki page have been folded into the latest drop up on Codeplex.
- You can also view a tutorial at How to Use the Facebook Developer Toolkit 2.0.
