Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Facebook like button disappeared after 10. july 2013 (the Like button required an absolute URL in the href parameter). What is the solution?
Comment | File | Size | Author |
---|---|---|---|
#44 | fb.png | 85.25 KB | vibrasphere |
#40 | Untitled-1.jpg | 189.39 KB | vibrasphere |
#20 | Unbenannt.JPG | 25.15 KB | ml89 |
#8 | service_links-2039431.patch | 588 bytes | TheCrow |
#4 | service_links-fix_for_facebook_like-2039431-1.patch | 580 bytes | rubencausyn |
Comments
Comment #1
Chimos CreditAttribution: Chimos commentedThe same for me, but I'm using version 7.x-2.2+3-dev.
I am using only 'Widget services' to show google, twitter and facebook like (tryed 'facebook share' and seems to work normally)
I hope somone can help,
Thanks in advance
Comment #2
SilviuChingaru CreditAttribution: SilviuChingaru commentedSame problem here. We should change href to absolute URL but than will break between http and https. One solution will be to always put the http version of the url.
Comment #3
SilviuChingaru CreditAttribution: SilviuChingaru commented@nses Because you are asking "What is the solution?" I don't think you want to be assigned for this task. Correct me if I'm wrong.
Comment #4
rubencausyn CreditAttribution: rubencausyn commentedI found the issue to be in the javascript facebook_like.js
attached patch should be applied to 7.x-2.x-dev
Comment #5
nses CreditAttribution: nses commentedThx rubencausyn, patch works.
Comment #6
Simon Georges CreditAttribution: Simon Georges commentedComment #7
SilviuChingaru CreditAttribution: SilviuChingaru commentedThis solution path makes #1400724: Facebook Like popup window doesn't show up issue active aggain. A fix shoul be found here or there and maybe one of this issues should be marked as duplicate.
Comment #8
TheCrow CreditAttribution: TheCrow commentedThe #4 could give problems with https websites, this is the correct patch, btw there is a problem for those who switches between http and https and the solution adopted in the previous issue mentioned in #7 by fiftyz doesn't work anymore, maybe we should add a control over the page linked, forcing the new https pages to be linked as the older http... what against that?
Comment #9
marcel.jtf CreditAttribution: marcel.jtf commented#8 patch from @TheCrow works for me. Thanks!
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks, TheCrow. The patch in #8 worked for me too.
Comment #11
astutonet#8 works for me too. Tks.
Comment #12
Ether CreditAttribution: Ether commentedAny timeline when the patch will be in dev version ?
Comment #13
gillesbailleux#8 works for me too
Comment #14
SolomonGifford CreditAttribution: SolomonGifford commentedConfirmed.
Comment #15
Simon Georges CreditAttribution: Simon Georges commentedOk, since, everybody seems to confirm it, I've committed the patch to both 7.x-2.x and 6.x-2.x. Thanks!
Comment #16
Chimos CreditAttribution: Chimos commentedSorry, does it mean it is already in 7x-2.2?
Or it is now in 7x-2x-dev and will be in the next 7x-2.3?
Thanks
Comment #17
Simon Georges CreditAttribution: Simon Georges commentedHi
It means it's already in the 7.x-2.x-dev and will be in the next 7.x-2.3.
Comment #18
Chimos CreditAttribution: Chimos commentedThanks!
Comment #20
ml89 CreditAttribution: ml89 commentedHi,
I patched the module, but the Facebook Like Button doesn't appear.
Anyone else with this problem?
Comment #21
snaushads CreditAttribution: snaushads commentedis there any temporary workaround for this issue ? I have tried using 7.x-2.3 beta1 but the issue still persists...
Comment #22
snaushads CreditAttribution: snaushads commented#8 patch from @TheCrow works. I just made the change in facebooklikes Js file and i can the like button is functional now.
Comment #23
deanflory CreditAttribution: deanflory commentedI too have Service links 7.x-2.3-beta1 installed (via update from previous dev version) and the facebook like still simply states "Error" instead of the like button with number bubble.
Applying the #8 patch to the latest dev (Jul 26) produces these results, stating that the it's already been applied, but I'm not getting a fix for the issue:
So, something else appears to be causing problems, at least here on my install, though it was working a month or so ago.
Comment #24
muschpusch CreditAttribution: muschpusch commentedEhm... this is wierd but when i revert this patch. FB like does actually work with this patch it doesn't! :/
Comment #25
dbrouard CreditAttribution: dbrouard commentedHi, it works to me with 7.x-2.3-beta1+3-dev
Comment #26
Simon Georges CreditAttribution: Simon Georges commented@muschpusch, could there be a conflict with other Facebook modules ?
Comment #27
muschpusch CreditAttribution: muschpusch commentedI use the panels integration maybe it's related to that... Sorry no time for testing at the moment....
Comment #28
Andre-Bworks with latest dev-2013-Oct-01
Comment #29
mengi CreditAttribution: mengi commentedWorks for me. Thanks for all the hard work!
Comment #30
Summit CreditAttribution: Summit commentedHi, Anyone can comment whether it is also working in 6.dev?
Thanks a lot in advance! greetings, Martijn
Comment #31
lfl CreditAttribution: lfl commentedJust did a long overdue update to 7.x-2.3 and now it's not working. Looked at the js patch (#8) but, from the thread, it looks like this fix should have been incorporated by now. Running in 7.17. Thoughts anyone?
Comment #32
alfarider CreditAttribution: alfarider commentednot working ? any solution for this
Comment #33
mengi CreditAttribution: mengi commentedthis is working in the 2.x-dev version, issue should be closed(fixed)
Comment #34
k_ankur CreditAttribution: k_ankur commented7.2.x-dev version not working for me. Facing same issue.
Comment #35
k_ankur CreditAttribution: k_ankur commentedI am facing this issue for facebook like as well as facebook share button. All other buttons are working fine.
Comment #36
k_ankur CreditAttribution: k_ankur commentedToday I migrated my code from local to server. Now everything is working fine with 7.2.x-dev version. It seems the problem occurs on local only.
Comment #37
crizConfirming bug using version 7.x-2.2. Update to latest 7.2.x-dev fixes issue.
Comment #38
Simon Georges CreditAttribution: Simon Georges commentedIf it's fixed in the -dev version, let's update the issue to reflect the status.
Comment #40
vibrasphere CreditAttribution: vibrasphere commentedDev not working.
Comment #41
SilviuChingaru CreditAttribution: SilviuChingaru commentedSeems more a css styling problem...
Comment #42
vibrasphere CreditAttribution: vibrasphere commentedTested on two separate sites, same.
Comment #43
SilviuChingaru CreditAttribution: SilviuChingaru commentedYes, but test on clean install because at my sites everything works properly. Maybe there is a css conflict from styles of some module you may have installed. Ofcorse, Im assuming that you are testing with a drupal core them not with a custom one...
Comment #44
vibrasphere CreditAttribution: vibrasphere commentedI'm testing on clean install with default Bartik theme. Why is this div and it's content are hidden? Maybe that's the issue? And I don't see no display: none property anywhere.
Comment #45
vibrasphere CreditAttribution: vibrasphere commentedAlso now after adding service links as field to views I get error in red using latest dev for facebook like saying that URL must be absolute so how is this fixed?
Comment #46
vibrasphere CreditAttribution: vibrasphere commentedOkay. I did clean reinstall of everything. The Facebook like button and counter appears only in admin-end, in anonymous user end only counter appears and in both ends nothing is click-able, the like button is not click-able in admin-end for e.g.
UPDATE: Okay, actually it works only on Chrome, Firefox doesn't render the Like button for some reason?
Comment #47
vibrasphere CreditAttribution: vibrasphere commentedDon't know what happened. Was debugging iframes CSS searching why Firefox is not rendering button, there was some border-collapse: collapse; set and I changed it to inherit and it fixed, but then I removed it again, cleared browsers cache and Firefox still shows the button and everything. So don't know. Works.
Comment #48
vibrasphere CreditAttribution: vibrasphere commented