mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 23:50:58 +00:00
1 line
1.1 KiB
JSON
1 line
1.1 KiB
JSON
[{"user_id": 40742, "stars": [], "topic_id": 45004, "date_created": 1315461162.8026111, "message": "I'm using facebook authentication in my app, if a user logs into facebook at facebook.com, logs into my app, then logs out of facebook.com directly, how can I check that they've logged out of facebook? I tried calling \"request.user.is_authenticated()\", but this still returns 'True'.", "group_id": 5196, "id": 2073783}, {"user_id": 20656, "stars": [], "topic_id": 45004, "date_created": 1315513588.0835519, "message": "They are separated things, django-social-auth only uses Facebook API to trust the user credentials and log him in. You could use Fabeook SDK for that (http://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus/) and check if user is not logged in, then log him out redirecting the page to your logout URL.", "group_id": 5196, "id": 2078247}, {"user_id": 40742, "stars": [], "topic_id": 45004, "date_created": 1315598286.3063619, "message": "I see. That makes sense. Thanks for the info! On a side note, convore needs to email people when there's a reply :)", "group_id": 5196, "id": 2087033}] |