Facebook Comments Not Working
-
Yes, broke here as well.
Broken here too. Found this list of errors in the browser details:
Invalid App Id: Must be a number or numeric string representing the application id. all.js:64 FB.getLoginStatus() called before calling FB.init(). all.js:64 FB.getLoginStatus() called before calling FB.init(). jquery-1.7.2.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.And this module looked so promising! DARN! Time to find something else
Problem for me as well…
did anybody get a solution for this? I have the same problem with facebook
Same problem here. Looking for a solution or suggestion for an alternative.
Just open the plugin folder -> gplus-comments -> includes -> templates -> partials -> facebook.php
just replace
<div id="fb-root"></div>on line number 10 with<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=<strong>xxxxxxxxxxx</strong>"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>and replace your appid
for more info in Facebook comments pls visit
https://developers.facebook.com/docs/plugins/commentshope it helps.
nope,. didnt help for me.
It isnt a missng javascript.
I found out, for some reason the width of the facebook comments are set to 0. So they are present, but we cant see theḿ.I did another workaround in …/gplus-comments/includes/lib/frontend.php line 87, where the tabs get initialized.
Just catch the tab activate event, check if the .fb-comments tab is initialized and set
jQuery(".fb-comments span, .fb-comments span iframe").css({"width": window.comment_tab_width});Workaround:
FIND: …/gplus-comments/includes/lib/frontend.php line 87
REPLACE WITH:echo '<script> jQuery("#comment-tabs").tabs({ activate: function (e, u) { if(typeof jQuery(".fb-comments") != "undefined"){ jQuery(".fb-comments span, .fb-comments span iframe").css({"width": window.comment_tab_width}); } } }); </script>' . PHP_EOL;Neither workaround seems to be working for me. Ive cleared my browser cache and facebook still seems to be reluctant to do anything.
I will note this, facebook comments shows on my phone, but will not work on a desktop browser.. :\
I stand corrected… idk what happened but I uninstalled the plugin, reinstalled, used ixiter’s fix and bam, worked..
ixiter’s fix worked for me as well – thanks!
I don’ get it works with ixiter’s solution, I think I’m doing sth wrong, I do next steps:
– I download the plugin
– I descompress it and I open the file frontend.php with the software PHP EDITOR
– I replace file 87
“echo ‘<script>jQuery(“#comment-tabs”).tabs();</script>’ . PHP_EOL;”
with the text of ixiter’s fix
– I save changes and replace the frontent.php file with the new one
– I compress again the plugin archive
– I go to my WP-admin and I upload the plugin modificated
– I activate the pluginIt doesn’t appear the Facebook Comments Box yet 🙁 I will appreciate if someone could help me (aikorei, thrifty vaper, ixiter?)
Thank you!
Thank you ixiter for your hard work. Your workaround worked.
The topic ‘Facebook Comments Not Working’ is closed to new replies.
(@krvam)
10 years, 8 months ago
Hi good morning, good for several days who does not walk my facebook comment box made of google .. The wordpress and works perfectly!
Only I have problems with the facebook, I stopped working out of nowhere, I think it was with the last update.
Example: http://www.lemusic.org/jack-deivid-no-me-dejes-solo-ft-martin-salinas-mp3-video-oficial/
Spanish:
Hola buenos dias, bueno desde hace varios dias que no me anda la caja de comentarios de facebook.. La de google y wordpress anda perfecto!
Solo tengo problemas con la de facebook, dejo de funcionar de la nada, creo que fue con la ultima actualizacion.
Ejemplo: http://www.lemusic.org/jack-deivid-no-me-dejes-solo-ft-martin-salinas-mp3-video-oficial/
https://wordpress.org/plugins/gplus-comments/