javascript - Implementing Fb logout -
i'm working on hybrid application developed using phonegap/cordova. in this, want implement fb login , logout without using fb javascript sdk
fb login implemented. i'm not able implement logout.
here code of logout
function logout() { $.get("http://m.facebook.com/logout.php", { confirm: "1", next: "http://localhost/dogroups_fork/www/callback.html" }) .success(function(data) { console.log("fb :: ", data); });
but isn't working, instead giving me whole fb page in response. correct way implement using logout url provided fb.
Comments
Post a Comment