Hi,

I've installed the new 5.x-1.0-beta1 version on a fresh drupal 5 install.
In the comment feed, the node title link does not point to the correct url, but rather to
http://www.facebook.com/profile.php?id=123456789&ref=profile
(where 123456789 is my FB id, of course).

Your help is appreciated.

Comments

imad’s picture

Title: Wrong link on facebook feed » Failed backport of fbconnect_comment_feed_validate function

Problem seems to be in line 776 of fbcoonect.module

Function drupal_to_js in fbconnect_comment_feed_validate is using version 6 syntax instead of version 5 syntax.

I think that line 776 should be:

'nodeurl' => drupal_to_js(url('node/'.$node->nid, $query = NULL, $fragment = NULL, $absolute= TRUE)),

Sorry, not enought knownledge to make a patch.

imad.
www.seresromanticos.com

gatta’s picture

Version: 5.x-1.0-beta1 » 5.x-1.0-beta2
Priority: Normal » Critical

same here.

The solution in #1 seems to do the trick.

plan9’s picture

This is still needed - but the line to change is now at 837

blue.moon’s picture

Actually you should pass absolute/complete url of your site like. if you are passing facebook "abc.com/node/1" its wrong pass "http://www.abc.com/node/1" so it should work.

vectoroc’s picture

Status: Active » Closed (fixed)