Migration guide facebook-c#-sdk 4.1 to 5.10

梦想的初衷 提交于 2019-12-08 13:31:16

问题


is there a migration guide from facebook-c#-sdk 4.11 to 5.10? Thanks!


回答1:


Here are some major changes:

  1. 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)
  2. 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.)
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!