This seems to happen with relative frequency. Login with facebook connect here:

www.repfun.com

and it shows the picture of the LAST person who logged in, not even on that computer instead of your the profile pic of the logged in user (or maybe we are actually logged in as that user??)

Comments

mikerasmussen’s picture

This is fixed. This was being caused by Block cache being turned ON. What happened is that it cached the block with the $fbu of someone else, then show up wrong for some users.

I turned off block cache and it all worked...

Dave Cohen’s picture

Title: Wrong user picture after login » block caching breaks XFBML markup
Category: bug » support

At the end of fb_settings.inc, it tries to disable drupal caching whenever a user is connected.

I guess that works only for page cache and not blocks. Possibly block cache could be disabled there as well.

Also, if you change the input format of your block to something that can't be cached (like PHP instead of HTML), that might work... I'm really not sure.

thedavidmeister’s picture

Status: Active » Fixed

seems like this was just the wrong block cache settings? also, can't use FBML any more - http://developers.facebook.com/docs/reference/fbml/

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.