Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
HTML / CSS - Plugin commenti facebook non mostrato su Chrome
Forum - HTML / CSS - Plugin commenti facebook non mostrato su Chrome

Avatar
carlduke (Member)
Pro


Messaggi: 153
Iscritto: 29/01/2011

Segnala al moderatore
Postato alle 22:39
Venerdì, 24/01/2014
Salve a tutto ho un problema con l'integrazione del plugin dei commenti di Facebook..

Il codice che ho inserito nel sito che sto sviluppando è questo:

Codice sorgente - presumibilmente HTML / CSS

  1. <html lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
  2. . . .
  3.  
  4. <body>
  5. <div id="fb-root"></div>
  6.         <script>
  7.           window.fbAsyncInit = function() {
  8.            FB.init({
  9.               appId      : '*ID_APPLICAZIONE*',
  10.               status     : true,
  11.               xfbml      : true
  12.            });
  13.           };
  14.          
  15.          (function(d, s, id) {
  16.           var js, fjs = d.getElementsByTagName(s)[0];
  17.           if (d.getElementById(id)) return;
  18.           js = d.createElement(s); js.id = id;
  19.           js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=*ID_APPLICAZIONE*";
  20.           fjs.parentNode.insertBefore(js, fjs);
  21.         }(document, 'script', 'facebook-jssdk'));
  22.        </script>
  23.  
  24. . . .
  25.  
  26. <fb:comments href="http://www.facebook.com/" num_posts="10" width="600" notify="true" order-by="time" colorscheme="dark"></fb:comments>
  27.  
  28. . . .
  29.  
  30. </body>
  31. </html>



Il codice l'ho generato dal sito sviluppatori di facebook https://developers.facebook.com/docs/plugins/comments/

Il problema è che su Firefox funziona tutto bene: http://postimg.org/image/6x39ta1tb/

mentre su chrome non si vede il box dei commenti..! http://postimg.org/image/650lu2xm7/

:pat:

..Qualcuno può aiutarmi?

PM Quote
Avatar
Qwertj (Dev Team)
Guru


Messaggi: 678
Iscritto: 30/05/2011

Segnala al moderatore
Postato alle 21:19
Lunedì, 27/01/2014
Hai messo la DTD? A console viene scritto nulla?

PM Quote