Closed (fixed)
Project:
Facebook Connect
Version:
6.x-1.0-beta7
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 20:00 UTC
Updated:
14 Nov 2011 at 08:04 UTC
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
Comment #1
mojo78 commentedAre 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?
Comment #2
frazras commentedYou 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?
Comment #3
pribeh commentedAnybody know what port facebook connect uses?
Comment #4
pribeh commentedI'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.
Comment #5
frazras commentedupdate: my issue was actually with the theme, I changed the theme from my custom theme and it automagically appeared!!
Comment #6
blue.moon commentedActually 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.
Comment #7
buddaClosing as it appears to be user error.
Comment #8
MakeOnlineShop commentedHello,
I am having this problem, can you tell me what I should do with closure variable ?
Thanks.
Comment #9
umesh sharma commentedthanks
this code help to use in custom login button. in registration or login page.
Umesh
www.cg-04.com