Can't Logout of my Facebook OAuth Session without logging User Out of Facebook -



Can't Logout of my Facebook OAuth Session without logging User Out of Facebook -

per sdk, using logout.php redirect:

https://www.facebook.com/logout.php?confirm=1&next={some url}&access_token={accesstoken}

it logging me out fine, it's logging user out of facebook. isn't there way of logging out of oauth session without logging out of facebook?

yes, ran same issue myself. dont logout.php or js sdk's fb.logout(). rather phone call graph api http delete command me/permissions. kill access token, remove app user's app listing , maintain browser's cookie facebook. can phone call either server side or client side. here's client side javascript sdk way:

fb.api("me/permissions","delete", function(response){/*do if want*/})

facebook oauth

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -