问题
is there a migration guide from facebook-c#-sdk 4.11 to 5.10? Thanks!
回答1:
Here are some major changes:
- FacebookApp,FacebookSignedRequest and FacebookSession is moved from Facbook.dll to Facebook.Web.dll but the namespace still remains under "Facebook" (For silverlight and windows phone FacebookApp is in Facebook.dll)
- FacebookApp still exsits but is hidden from the Visual Studio intellisense and also marked as obsolete. FacebookWebClient is preferred if you are writing new codes, though you can continue to use FacebookApp for existing codes. (If silverlight/wp7 or desktop FacebookClient is preferred.)
- All the authentication has been moved to use the Facebook OAuth dialog.
You might want to check out this blog post where I mentioned some changes that happened in the first beta of v5. http://blog.prabir.me/post/Facebook-C-SDK-v5-Beta-Internals.aspx
来源:https://stackoverflow.com/questions/5838677/migration-guide-facebook-c-sdk-4-1-to-5-10