Closed (fixed)
Project:
Facebook Connect
Version:
5.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 20:36 UTC
Updated:
21 Mar 2010 at 15:16 UTC
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
Comment #1
imad commentedProblem 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
Comment #2
gatta commentedsame here.
The solution in #1 seems to do the trick.
Comment #3
plan9 commentedThis is still needed - but the line to change is now at 837
Comment #4
blue.moon commentedActually 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.
Comment #5
vectoroc commented