Active
Project:
Drupal for Facebook
Version:
6.x-3.0-rc13
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 14:46 UTC
Updated:
9 Feb 2012 at 03:15 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedProcess of elimination points to:
being the culprit.
Comment #2
Dave Cohen commentedView source for your page, and make sure there is only one place with "all.js".
And if that code is the "culprit" can you be specific about what's wrong with it?
Comment #3
Anonymous (not verified) commentedall.js is output within the footer as part of the Drupal.settings js:
However, it is also added above the like/send button (without it the buttons do not show up.).
Apologies for being a bit vague about the code above - I literally just commented out functions within the fb.js file to see which caused the send button to fail.
I'm presuming because the send button is XFBML specific, that the FB.XFBML.parse(elem); is intefering with the send button in some way.
Comment #4
Dave Cohen commentedRemove the
<script>tags from these places. Restore fb.js to its original state. If there's still a problem, use firebug or something like it to track down javascript errors.Comment #5
Anonymous (not verified) commentedAs I mentioned previously, there are no javascript errors & the button doesn't show up if the script tags are not there.
Comment #6
Dave Cohen commentedDo you have an application? Might be related to #1160934: Like Button and other XFBML not working without application
Comment #7
Anonymous (not verified) commentedYes, the whole site is actually shown within a Facebook Page tab so the application was needed for that.
It was only the send button that wasn't working - it would appear but not actually function (small popup with a textbox to send it out) - the like button next to it was fine
Comment #8
letapjar commentedI have the same problem. Using the fb-example contrib module, the send button does not work on initial page load - however, if I re-fresh the page, the button seems to work fine.
Any help resolving this would be appreciated.