I've pin-pointed it down to this line. If it's removed, instead of showing users picture and name from Facebook after logging in, it displays Facebook login button again. Clicking it just refreshes the screen.

$info['fb_get_fbu'] = fb_get_fbu($user->uid);

It happens only if Facebook account is not mapped to Drupal user. If it's mapped, user is logged in.

Comments

Dave Cohen’s picture

Do you have a "primary" application set for facebook connect?

mikgreen’s picture

Positive.

mikgreen’s picture

Status: Active » Closed (cannot reproduce)

It's application specific. It doesn't happen in clean install of FB modules.
I'll post when I find out that was the problem.