I recently installed fbconnect - I see the tab under the user page but I dont see the login button, but i see it in fbml. here are snippets from my page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en" xml:lang="en"> 

  <head>
.
.
.

                  <table class="sticky-enabled">
 <thead><tr><th>Facebook Connect identities</th> </tr></thead>
<tbody>
 <tr class="odd"><td>This website supports Facebook Connect and allow you to log in with your Facebook account.</td> </tr>
 <tr class="even"><td>Click on login button below to link your account on SellOff! with your Facebook account.</td> </tr>
 <tr class="odd"><td><fb:login-button onlogin="facebook_onlogin_ready();" size="large" background="dark" length="long">

          </fb:login-button></td> </tr>
</tbody>
</table>

I cannot see the button that is supposed to be rendered by

 <tr class="odd"><td><fb:login-button onlogin="facebook_onlogin_ready();" size="large" background="dark" length="long">

          </fb:login-button></td> </tr>

Comments

mojo78’s picture

Are you behind a firewall/can you get at http://www.facebook.com? I've just stumbled on this problem myself, and in my case it's nothing to do with this module or even drupal, but rather that Facebook Connect accesses URLs that corporate firewalls refuse access to as part of any policy that bans Facebook access (including the src URL for the images).

This is a thorny one, at a recent Facebook garage in Dublin the EMEA exec. who spoke said they're working to resolve these kinds of issues but there was no timeline or specifics given and I haven't seen mention of it on official forums or blogs.

Guess the best solution for now is to have a fall-back authentication system that users can sign up to if they want to access your service from behind a firewall, it means you have to ask them to supply a password (one of the significant benefits of using fbConnect) but suppose you could clearly state that it's optional and only required for FB-restricted users.

Any other, more elegant solutions from anyone?

frazras’s picture

You are right, I am actually behind a firewall. It doesn't ban connections to facebook.com over port 80 but it bans connection over every other port.
Does it use a different port for authentication?

pribeh’s picture

Anybody know what port facebook connect uses?

pribeh’s picture

Priority: Normal » Critical

I'm having the same issue here on version 5x-1.0-beta2. Big problem. For instance, I see the text ('login with facebook') on the login form but no button. I'll post the output when I get a chance. I'm pushing this to critical if that's ok.

frazras’s picture

update: my issue was actually with the theme, I changed the theme from my custom theme and it automagically appeared!!

blue.moon’s picture

Actually it was not theme, it was $closure variable, which normally comes after footer, but in some themes, it is merged with $script variable of theme, so when the facebook scripts come in to header of the page, it breaks down.

budda’s picture

Status: Active » Closed (fixed)

Closing as it appears to be user error.

MakeOnlineShop’s picture

Hello,

I am having this problem, can you tell me what I should do with closure variable ?

Thanks.

umesh sharma’s picture

thanks
this code help to use in custom login button. in registration or login page.


Umesh
www.cg-04.com