问题
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