Version 3.0 Notes

The main goals driving the release of version 3.0 were:

As part of this, we worked closely with the Concept Development Team at Microsoft to help design the Silverlight and WPF support.  Also, after discussions with Microsoft it was decided that the namespaces and methods should be updated again to be more consistent with traditional .NET apis.  This will cause some breaking changes to everyone as they move to 3.0.  But, the main goal is that we wanted to get it right this time so that this could become an officially supported client library.  Microsoft is working with Facebook to get the toolkit identified as the officially supported library.  The plan is to provide real-time support and updates to keep the toolkit in synch with the Facebook API.

Upgrading from Version 2.0/2.1 to 3.0


Topic 

Version 2.1

Version 3.0

Namespace Casing

facebook, facebook.web

Facebook, Facebook.Web

Method Names

get(), getInfo()

Get(), GetInfo()

Async Suffix

get() (sync only)

Get() [Sync],

GetAsync() [Async]

Forms & Components

Part of facebook.dll

Part of Facebook.Winforms.dll

ConnectToFacebook method

facebook.API

Desktop only, in Facebook.Winforms

Other platforms leverage new Session objects to handle authentication.  This was kept for backward compatibility

Schema objects updated & Namespace Casing

facebook.Schema

Facebook.Schema

Method return types

Some incorrect return types were corrected in v3.0.  These will break upgraders, but are now correct types.

 

Public SendRequest methods

 

Added generic version and 1 overloaded method: 

 

public T SendRequest<T>(IDictionary<string, string> parameterDictionary, bool useSession)

API object constructor & Session objects refactored

API was instantiated with default constructor

API now (requires) a FacebookSession subclass in constructor

Session objects & namespace

Didn't exist

In Facebook.dll
Used to encapsulate the handshake between various applications

FacebookService

Was in Facebook.dll

Moved to Facebook.Winforms.dll (since this is really a Winform focused component that really just wraps the Api class

JSON Helper methods exposed publicly

Not Exposed

Exposed Publicly


Version History

Version 1.1:

Version 1.2:

Version 1.3

Version 1.4

Version 1.5

Version 1.6

Version 1.7

Version 2.0

Version 2.1

Fixed the following bugs 10512,10705,11009,11215,11410,12026,12351,12386,12446,12590,12592,12593,12742,12818,13231