Hi,

I've read the readme.txt and searched the issue log.

This issue might be a duplicate of http://drupal.org/node/714018 or have something to do with that but I can't tell for sure. This problem does not occur with Facebook connect but the Like button so I decided to create a new issue.

Drupal setup
- Out of box D6.16
- DFF 6.x.-3.x-dev (2010-May-18) with all DFF "core" modules enabled (no DFF-contribs or optionals)
- Facebook-SDK fetched today.
- Devel module enabled
- Test site can be found at http://cc.curling.fi (won't be there forever, I'll tell here when I'll remove this dev-site)

Facebook app
- masipila_testi, http://apps.facebook.com/masipila_testi/
- this app is a dev app as well and won't exist forever, I'll tell here when I'll remove this test app)

Overview of the problem
- I have currently two nodes in cc.curling.fi that both have manually created like buttons.
- The buttons are created in node body (full html input filter) with the following syntax:
<fb:like href="http://cc.curling.fi/node/1"></fb:like>
- The like buttons work on my own Windows XP desktop on Firefox 3.6.3 and IE8.
- The like buttons cause on infinte redirect loop on my friends (Janne Ojanperä) Firefox 3.6.3 running on Mac OS X 10.6.3 and the like operation does not register to Facebook.
- The like buttons work on Janne's Safari on the same Mac.
- Janne is able to do Facebook Connect on both browser without problems.

Description of the problem in more detail
- When Janne clicks the like button, a popup window opens, see attached screenshot

- This popup first makes a redirect to
http://www.facebook.com/connect/uiserver.php?social_plugin=like&external...

- And then another redirect to
http://www.facebook.com/connect/connect_to_external_page_widget_loggedin...

- After this the popup closes, a new popup opens and the same redirect loop starts all over again.

- These like operations never end up to facebook.com, or at least they won't show up in Jannes wall or in the cc.curling.fi -nodes.

- Nodes 1 & 2 are both liked by Janne but these likes have been made with Safari.

Janne has the following Firefox extensions enabled:
- Adblock Plus 1.2 (the problem exists if this extension is enabled or disabled)
- Greasemonkey 0.8.20100408.6
- Uppity 1.5.6
- Version info of the browser: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Janne is also having troubles viewing the Canvas page of this application that can be found at
http://apps.facebook.com/masipila_testi/, I'll create another issue of this problem.

CommentFileSizeAuthor
loop.png88.38 KBmasipila

Comments

masipila’s picture

Additional information:

this same redirect loop is triggered also from the like button found at http://www.drupalforfacebook.org/node/2000

-Markus

masipila’s picture

More information:

Janne tested the like button on the canvas page at http://apps.facebook.com/drupalforfacebook/node/7/dff_tour/social.

That didn't trigger the loop, it worked normally. Mysterious...

masipila’s picture

Status: Active » Closed (fixed)

I moved my development environment to a different URL and cc.curling.fi is no longer valid address.

I can't reproduce this problem in the new environment even though it should be identical in this sense. I guess it's yet another mysterious facebook-side problem.

I'm closing this issue since I can't reproduce this and I don't have a problem with this anymore.

quinns’s picture

I'm also experiencing this problem when using a Mac with Firefox. Also, like the OP, it works fine in Safari.

magpie5212’s picture

Also suffer from this on PC firefox.

mikeynola’s picture

Status: Closed (fixed) » Active

I am having this problem here and would appreciate any advice regarding how I might resolve the issue:
http://www.stoptortureinhealthcare.org/

I have tried various Facebook modules and un-commented $base_url in settings.php.

Thank you!

jghyde’s picture

mikenola-- nice site!

I am wondering if placing the code even with the default Drupal "Full HTML" filter will work properly in all cases. My suspicion is that the Drupal Full HTML filter is stripping something out of the tag can causing this.

Have you tried simply adding the LIKE button to a template file or sending it to the page via template.php (template_preprocess_page or template_preprocess_node)?

Also, not optimum for performance, but worth a try, would be to change the filter setting to "php" and see if you can replicate.

Joe
http://www.sanangelolive.com/

cboling’s picture

I had the same problem on Drupal 7 with Firefox (probably true for other browsers).

I tried several other suggested solutions and did not have any success until I saw a related post on stack overflow that suggested turning on acceptance of third-party cookies. When I enabled third-party cookies, things started to work and other pages I had previously 'liked' and got the same problem also started showing up that I had 'like'ed them.

Anyone know a way around this without having to have all users enable third party cookies?

Yoran’s picture

I had the same problem with FireFox under Linux. Solution was to re-enable "third party cookies". Actually it's enabled by default (I checked with blank FF installation) but can be disabled by extensions (In my case I think it was Cookie Monster).

You can re-enable this trough FF Privacy Panel (http://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel) and set "Firefox will.." to "Use custom settings for history". Now you have a checkbox "Accept third-party cookies" normally disabled.