GetLogoutUrl method missing in facebook c# sdk 5.2.1 .net 4

試著忘記壹切 提交于 2019-12-11 02:46:41

问题


This method seems to be missing on the latest version of the sdk. Does anyone know why and what is the alternative method for logging out.


回答1:


GetLogoutUrl method was marked obsolete in the previous releases as it doesn't provide the expected behavior. (you can read more about the details at http://bugs.developers.facebook.net/show_bug.cgi?id=17217)

You will need to use Facebook Javascript SDK to logout or programatically delete the cookies of the WebBrowser control inorder to logout of Facebook.



来源:https://stackoverflow.com/questions/7356288/getlogouturl-method-missing-in-facebook-c-sharp-sdk-5-2-1-net-4

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