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

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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