Hello, thanks for creating this module. I believe I correctly followed the instructions in the Readme text. Everything is working almost perfectly.

I enabled the Facebook Connect block. The only problem is that when an anonymous user visits the Drupal site and clicks the Facebook Connect button, nothing happens. However, if the user has already registered for the Drupal site and is logged in, it works fine. The "Request for Permission" Facebook popup appears.

I'm guessing didn't configure the settings properly but can't figure out where to look exactly. Any help is much appreciated. Thanks.

Comments

Dave Cohen’s picture

Use firebug or something like it to find javascript errors.

thoughtcannon’s picture

Version: 6.x-3.0-rc11 » 7.x-3.x-dev

Same issue with D7. Firebug did not return any errors. A full list of errors can be found at http://drupal.org/node/1105678.

geerlingguy’s picture

I seemed to not have this problem with the latest 7.x-3.x dev release... maybe something was fixed in the interim?

my3ya’s picture

Same Issue here.
I've been struggling with this for quite a while now.. When I set it up initially about 3 months back it worked for a few times..
Not been able to get it working again..
Please help. This feature is very important as it also registers new users on my site :)

Dave Cohen’s picture

If the problem is only with anonymous users, it might be drupal's caching. Try flushing caches, or disabling them entirely to see if that solves the problem.

rade’s picture

I figured out that the login button didn't work only on those pages in which I had a Facebook like box. When I removed the like box the login button started working for both anon and authenticated users.

This was only a quick fix for now. Need to find out how to be able to have a working login button and the like box on the same page.

This was the code for the like box:

<div id="fb-root"></div><fb:like-box border_color="" colorscheme="dark" header="true" href="http://www.facebook.com/example.com" show_faces="true" stream="false" width="300"></fb:like-box>
Dave Cohen’s picture

If you use facebook's "helpful" social plugin pages to get markup, it will be polluted with <div id="fb-root"> and <script> tags. Remove those and leave only the <fb:whatever></fb:whatever> tags and it should be fine.

drwierdo’s picture

How does these pollutants enter into the markup? Is it due to the fb sdk or is it due to some bug in the module? I haven't entered those scripts or tags, so how am i supposed to remove them??

Dave Cohen’s picture

Drupal provides a number of ways to add any markup to a page, including <script> and other tags.

Most likely it is coming from either...

- a manually configured block
- a manually configured node
- a block or some other markup added by a module
- a customized template (could be page, block, or any template)

An experienced drupal admin could probably tell by inspecting the page source. Grepping will help find it in a template.

vishalchavda’s picture

Hello

I have the same problem with the latest version of 6.x-3.x dev version. I am using drupal 6.22.
I have cleared all caches and have deleted the face book like block. In my case only the Admin user is able to click on the facebook connect button. Doesnt work for any other user types.

This is quite important for my site to be able to create additional users. Please advice on this.

Regards

Vishal