Posted by praideal on January 14, 2011 at 8:31am
9 followers
Jump to:
| Project: | Facebook Connect |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | facebook connect, facebook connect page refresh issue |
Issue Summary
Dear All,
I am using Facebook Connect in my website which is based on Drupal 6. What issue I am facing is that If I set Auto Login/Logout mode from admin panel then if in a tab I am login on facebook and I open my website in another tab then on first the user does not come as login, but when I refresh the page then user comes as login. Can you please tell me the solution for this issue?
Thanks in Advance
Comments
#1
Anyone have any ideas? I'm seeing this in both the Fbconnect and Drupal for Facebook modules.
#2
I am getting same problem... it seems to only happen when caching is enabled.. but I need caching enabled because my site is slow without it.
#3
Also.. fbconnect works with caching in Firefox... just not IE and Chrome.. Safari takes a long time to connect with facebook when caching or page compression is enabled
#4
Sounds like the same issue I am facing but with manual connect. Using FF8.0. I hit the Facebook button which brings up dialog to login to FB correctly. Enter username/password and login. The dialog goes away and I am logged into FB (going to FB in another tab shows me logged in) but the drupal login page is not reloaded. Hitting the FB button again used to just print a message to debug console (FB.login called but use is already logged in).
I applied the change to get the email address and now hitting the FB login button pops up the dialog which then closes immediately with no console message.
Manually refreshing the web page will correctly show that the user is logged into FB and the FB button changes to allow logging into site.
Playing with the window.location.refresh() and just changing the reload to force a window.location to some arbitrary page within my site shows that while the main content is being reloaded, the side bar with the navigation info is not being reloaded.
Okay, on further research the button may be being refreshed (block cache is off). Issue seems to be on server side that the facebook_client()->getUser() is not set and thus no user profile retrieved when the page is reloaded following login. However, these are set on a manual refresh of the page. Next will be to determine where and when the server side facebook_client() info is set.
#5
Did you get any further with this? I am having the same issue.
#6
I am having the same problem even with the caching enabled on Firefox 9, Chrome and IE 8.
Any help would be appreciate.
Thanks
#7
I solved the problem but It was in one custom module... Sorry for any inconvenience.
At the moment is working with the solution showed in this topic: http://drupal.org/node/1169694
#8
Same issue here... Can anyone look into this issue..
#9
Also having this issue, needs a manual refresh after logging into facebook to work.
Anyone have this issue sorted?