Hi all,
I'm building a site using Fb Connect site and am having some problems
synchronizing the logout from facebook to my site. I.e. if I am logged
in at facebook as well as my site, and subsequently log out from
facebook I then remain logged in on my site, not being able to log out
(nothing happens when I click the fb_logout_link).
Like many others i've used the tutorial on made by many
http://to.ly/wmE
as a start. At first I was retrieving facebook_session with
set_facebook_session (as per the tutorial). After experiencing the
problem above and some reading here I realized I needed to use
create_facebook_session to pull facebook_session on every request (as
I think is the case?).
Now, this does help, however after logging out from facebook a
facebook_session is still retreived on the next request on my site
(but not on further requests) - meaning the fb logout link is still
shown but not leading to any action on click, and I would very much
want to eliminate this potential confusion for the users. (On the next
request, the users are effectively logged out).
I suspect something is going on with the fbsetting-cookie but haven't
figured out a way to solve it. Without going further into details I
would appreciate if anyone has run into this or if perhaps I'm
misunderstanding something. All help is welcomed =)
Thanks / Mattias