Posted by dbigras on April 18, 2009 at 5:38pm
Jump to:
| Project: | Facebook Connect |
| Version: | 6.x-1.0-beta9 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I've configured the module to the best of my knowledge. It's working fine. I can login with FB users, I can link current drupal users to FB users. I see the FB avatar. I see the FB Profile information. When I register on my site, it adds a notification in the user's wall and news feed.
But when I add a comment to an article, it doesn't add a notification in the user's wall or news feed.
I did not change the Bundle IDs and everything else is working fine.
What did I miss?
Comments
#1
Same here (using 5.x version) - been having some problems recently - the module does not publish anything on FB.
I noticed in the browser's status bar that it's contacting errors.facebook.com, but I don't know what the errors are...
Everything worked fine a couple of weeks ago.
#2
Anyone care to help?
#3
As there are no responses, I would just love to know - does anyone have a working feed-publishing site?
If so, which version of fbconnect are you using?
I would really appreciate any response here,
Thanks.
#4
I'm having the same problem... would really like the feed to work!! Initially when I first set it up it was working fine, now it does not. HMM, anyone have a working version ?
#5
Isolated this down to line 334 of fbconnect.module:
function fbconnect_comment_feed_submit($form, &$form_state) {
if ($form_state['values']['fbconnect_feed'] == 1) {
$node = node_load(array('nid' => $form_state['values']['nid']));
$_SESSION['fbconnect_feed'] = array(
'type' => 'comment',
'comment' => check_plain($form_state['values']['comment']),
'title' => check_plain($node->title),
'nodeurl' => drupal_to_js(url('node/'.$node->nid, array('absolute' => TRUE))),
);
}
}
This ends up spitting out js on line 246. With firebug, this shows an error because the article url is null:
$(document).ready(function() {FB_RequireFeatures(["XFBML"], function() {FB.Facebook.init("crazysessioncodehere", "/sites/all/modules/fbconnect/xd_receiver.html");
});facebook_publish_feed_story(47874003217,{
"sitename":"test site",
"siteurl" : "http://www.testsite.com",
"title" : "",
"article_url" : ,
"comment" : "Nice."
});});
So I put in a couple watchdog statements to see what was going on (yes, I know this is not the right way to run watchdog statements):
function fbconnect_comment_feed_submit($form, &$form_state) {if ($form_state['values']['fbconnect_feed'] == 1) {
$node = node_load(array('nid' => $form_state['values']['nid']));
watchdog("fbconnect", "nid " . $form_state['values']['nid'], null, WATCHDOG_DEBUG);
watchdog("fbconnect", "nodeurlplain " . url('node/'.$node->nid, array('absolute' => TRUE)), null, WATCHDOG_DEBUG);
$_SESSION['fbconnect_feed'] = array(
'type' => 'comment',
'comment' => check_plain($form_state['values']['comment']),
'title' => check_plain($node->title),
'nodeurl' => drupal_to_js(url('node/'.$node->nid, array('absolute' => TRUE))),
);
}
}
And all of a sudden the code worked. And the values showed up in watchdog. Now I am more mystified. Is something getting loaded because of the watchdog statements or because it takes more time to execute?
Baffled by that one. ;) Anyway, at least now there's a direction.
#6
@swellbow : I know its not a solution but I tried it anyway, didn't work for me.
Any progress on this one ?
#7
I'm experiencing the same problem with Drupal 6. I've looked into it, and although the js is set with drupal_set_js(), it doesn't output in the $closure variable as it's supposed to.
#8
With an exception of this:
"Users can publish a customizable message on their Facebook feed announcing that they have created an account on the Drupal website"
I don't see anywhere in this modules documentation where it says anything about being able to publish content to a users facebook feed. Is the documentation for this module just out of date? I was looking to find another module that would allow me to post comments and activity to a users facebook wall but if this module has that functionality I will continue to use it. If someone could clarify the this that would be great! Thanks in advance.
#9
same problem here...
#10
subscribing
#11
I have one site that this is working on and another it's not. Can't find a difference yet but I'll keep looking
#12
Yeah, I'd also like to have it clarified (like #8) if it can post nodes to a user's wall.
#13
same here, would be great if it posted content to wall.
#14
Like #8 and #12, I would like to know if posting content to the user's Wall is even part of the intended functionality.
#15
Okay, I somehow didn't see this before. There's a checkbox on the comment form to post it to Facebook. After submitting the comment, you're presented with a standard Facebook "Do you want to publish this to your Wall" window. Clicking "Publish" appears to work, at least in beta8.
#16
In beta9 it works in firefox but not in safari (both on mac). Not getting the popup to publish in safari.
#17
I have similar results to #16. The popup only appears sometimes in Safari and Chrome on Mac. When the popup appears, it publishes though. FF seems to work every time.
#18
Subscribing....
#19
I tested on both the PC and Mac versions of Safari and Chrome. I was not able to get the comment to publish on Facebook at all.
It was fine in IE6, 7, 8, and latest Firefox on the PC. It was fine on Firefox on Mac.
#20
try last dev from github
#21
I downloaded the latest code from http://github.com/vectoroc/fbconnect and found the following:
Posted to Facebook wall/feed fixed in Safari and Chrome on Mac. However, this same feature has now stopped working on Firefox on Mac and PC, and also IE is not working as well.
#22
following....
#23
any updates on this issue?
#24
latest dev version on github seems to be working for both firefox and safari on mac.
#25
Can someone test last dev in IE? I dont have ability now
#26
We are using beta 9 on our site, and I did just test it out in IE8 with the comment and it did work.
I'm not having any problems with posting comments that I know of, at least, none of my members have complained of anything or reported having any problems with it; but we can't seem to get it to post a notification when they create a node... Only when they comment on one. But according to this thread: http://drupal.org/node/626248 it is supposed to post when they leave a comment and when they create content.
Am I missing something in the settings that let's it publish when they publish a new node?
#27
OK, I am getting the FB popup after submitting a node with beta9. Huzzah!
Only complaint: it would be nice if I didn't have to type in the title and link to the node. Without that information being part of the FB wall post I might as well just go post to FB manually. Still, this is big progress with beta9. Thanks!
#28
Working here also, with dev release, on Firefox and Safari, both on Mac OS X.
Hoping to see a stable release (or at least next beta) soon ! ;)
Regards,
David
#29
#30
Automatically closed -- issue fixed for 2 weeks with no activity.