The main goals driving the release of version 3.0 were:
|
|
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 |
|
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 |