I\'m upgrading my use of the Facebook SDK to the latest version. The following code is prety much lifted line by line from Facebook\'s own examples, which can be found here: htt
if(LoginManager.getInstance()!=null){ LoginManager.getInstance().logOut(); }
Write before "registerCallback();" method