Facebook Plugin: los comentarios no aparecen en Blogger

Hace un buen tiempo configuré el plugin de Facebook para que los usuarios pudieran comentar en mi blog con su cuenta personal. Después de un tiempo y con las actualizaciones tanto de Facebook como de Blogger, los comentarios comenzaron a desaparecer, pero solo en algunas publicaciones.


Logré determinar que se debía a que Blogger determina la ubicación del lector y le agrega la terminación del país al dominio de tu blog. Es decir, si alguien entraba en harinapana.blogspot.com desde Argentina, la URL sería harinapana.blogspot.com.ar/publicacion-blablabla

Esto creaba un conflicto con el plugin de comentarios de Facebook, ya que hay que indicar en el código la URL exacta de la publicación en donde aparecerán los comentarios.

Esto se puede resolver comprando un dominio propio y reemplazando la URL en cada publicación, pero para evitar tener que reemplazarla de nuevo en un futuro si volvemos a cambiar de dominio, solo debemos editar un poco el código de Facebook.

En primer lugar, debemos mirar que los ampersands (&) y los apóstrofos (') del JavaScript SDK estén expresados correctamente para que Blogger los pueda leer (solo los del script). Debemos reemplazar los ampersand por & amp ; y los apóstrofos por & #39 ; (sin los espacios).
Después de asegurarnos que este código está implementado correctamente, en cada publicación debemos reemplazar data-href="http://harinapana.com/publicacion-blablabla" por expr:href="data:post.url"

<fb:comments expr:href="data:post.url" num_posts="10" width="755"></fb:comments>

Esto hará que, sin importar el país o el dominio, Facebook tome automáticamente la URL referente a esa publicación.

Para ahorrarte tener que copiar y pegar el código cada vez que haces un post, puedes incluir el código de Facebook en la Plantilla de Entrada desde Configuración > Entradas y Comentarios en tu menú de Blogger.

8 comentarios:

  1. drfredspirituraltemple@yahoo.com) mis queridos lectores en todo el mundo, es un gran privilegio contarles sobre este gran hombre que me ayudó a superar la tragedia de mi relación, y cómo su medicina herbal también me ayuda. Mi relación se volvió tan complicada en una etapa que temía perder a mi esposa por otra, durar mucho tiempo en la cama era un problema y, en el fondo, sabía que mi esposa no estaba feliz por eso. A veces, cuando pedía sexo de la forma en que ella actuaba antes del sexo, noté que era porque no la estaba satisfaciendo, cuando más lo necesitaba, ya venía con fuerza y ​​no era la mejor. Así que necesitaba encontrar una solución. Así fue como entré en contacto con DR FR. Realmente cambió mi vida sexual y desde entonces la vida ha sido divertida porque mi esposa ahora me ama más de lo que solía, todo gracias a DR FRED por esta gran experiencia. cosa que hizo por mí ... Si alguna vez necesita ayuda de algún tipo de enfermedad como DIABETES ... HERPES ... puede visitar el templo de DR FRED para obtener una solución ((drfredspirituraltemple@gmail.com)) o la aplicación +2348158839763

    ResponderEliminar
    Respuestas
    1. MY STORY OF HOW DR HARRY HERBAL MIXTURE ENLARGE MY PENIS SIZE FROM 3.5 INCHES TO 10.5 INCHES
      hello i am Tom sullivan  from belgium but residing in the united state of america …i have been having sexual battles with my wife in my marriage because of my small penis and it was really so embarrassing imagine a grown up man of 39 years old having a small dick…i could not satisfy her and she threatened to cheat on me if i do not find a way..i searched for cure and results but none of them avail..i even used online pills,vaccines,drugs,herbal herbs but still no result so i was about going penis Sugery when i read about this great herbalist called Hr harry ..i quickly message him and he got back to me within 30 mins and told me all i need to do ,,i followed all his instructions and he sent down his herbal cream through UPS SERVICE to me and gave me instruction on how to apply it and within two weeks i was Beginning to feel myself …i now measure 10.5 inches long in erection and 8.0 girth fat …my wife is so proud and happy with me now..All thanks to DR HARRY for saving my marriage ..i am 100% grateful to you sir .NOTE
      he also have herbal remedies to problems like
      1.LOW SPERM COUNT
      2.PREMATURE EJACULATION
      3.ERECTILE DYSFUNCTION
      4.DIABETES CURE
      5.HIV/AIDS CURE
      6.CANCER CURE
      7.GENITAL HERPES CURE
      8.STROKE
      9.HEART FAILURE
      so if you are out there and need such help please contact him on drharrysolution@gmail.com or visit his website http://drharryherbaltempl.wixsite.com/solutiontemple you can Whatsapp him on +2349036417079 …   

      Eliminar
  2. I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors prescribe for me, but none could offer me the help i searched for. i saw some few comments on the INTERNET about this specialist called Dr movo and decided to contact him on his email: {drmovo.supernaturalherbalmedic@gmail.com} so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement of my penis, " and now it just 4 weeks of using his products my penis is about 9 inches longer, and i had to settle out with my Ex girlfriend JOY, i was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr movo I also learn that Dr movo also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr movo now for help on his email:{drmovo.supernaturalherbalmedic@gmail.com} or whatsapp +2347061865209.

    ResponderEliminar
  3. hello everyone i am FRED CABANSAG from UAE but live in the united states of america   i want to tell the whole world of great  Dr Obue herbal mixture i was unhappy ever since my girlfriend back then in college mocked me of having a small penis and weak in bed ,ever since then i have been trying to improve my sex life but all effort failed ..but it gut worse when i got married ,my wife is so angry with me and Threatened to leave me if i do not find a way and i love my wife so much so one faithful day i was reading some comments on a blog then i saw a comment of one Mr Tom Sullivan new Orleans testifying of how Dr obue helped him enlarge his penis and fertilise his sperm count so i quickly contacted him by his website link https://drobuesolutiontemp.wixsite.com/drobue  and he got back to me and i did as he said ..to my greatest surprise i got 10 inches within two weeks of using his herbal medicine and now its just 3 weeks i am having 10.5 inches i am so happy now..my wife told me am so good in bed that i almost killed her last night all thanks to him note he also cure sicknesses and diseases like PENIS ENLARGEMENTERECTILE DYSFUNCTIONDIABETES type 1 and type 2HERPES GENITAL WARTLOW SPERM COUNTWEAK ERECTIONBREAST ENLARGEMENTPROSTRATE CANCERHIV/AIDSPREMATURE EJACULATION 
    so if you need his help contact him on his email drobuesolutiontemple@gmail.com  visit his site   https://drobuesolutiontemp.wixsite.com/drobue or whatsapp him on +2348030569449  thanks 

    ResponderEliminar
  4. Hello viewers around the Globe, I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors prescribe for me, but none could offer me the help i searched for. i saw some few comments on the internet about this specialist called Dr, OLHIA and i decided to contact him on his {oliha.miraclemedicine@gmail.com} so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement of my penis, " and now it just 4 weeks of using his products my penis is about 9 inches longer, and i had to settle out with my Ex girlfriend Ella, i was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr OLIHA I also learn that Dr OLIHA also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr OLIHA now for help on his email {oliha.miraclemedicine@gmail.com} or whats app him number: +2349038382931

    ResponderEliminar
  5. I want to share a testimony of how Dr.LOVE herbal mixture cream saves me from shame and disgrace, my penis was a big problem to me as the size was really so embarrassing,and i was also having weak erection problem. I can't make love to my wife and my penis was just too small a full grown man like me having 4 inches penis and to worsen it i don't last in sex i cant even last two minutes it was really a thing of shame to me. My wife was really tired of me because my sex life was very poor,she never enjoyed sex,i was always thinking and searching for solutions everywhere until when i saw a testimony of how Dr.LOVE herbal mixture cream have been helping people regarding their sex life, so i decided to give him a try and to my greatest surprise in less than one week of taking the herbs my penis grow to 8 inches i couldn't believe my eyes and as i speak now my penis is now 8 inches and i do not have week erection again. I can make love to my wife longer in bed. And my marriage is now stable,my wife now enjoy me very well in bed. can contact him drlovetemple@gmail.com {) or call or what-apps him through +2347010538590

    ResponderEliminar
  6. MY STORY OF HOW DR HARRY HERBAL MIXTURE ENLARGE MY PENIS SIZE FROM 3.5 INCHES TO 10.5 INCHES
    hello i am Tom sullivan  from belgium but residing in the united state of america …i have been having sexual battles with my wife in my marriage because of my small penis and it was really so embarrassing imagine a grown up man of 39 years old having a small dick…i could not satisfy her and she threatened to cheat on me if i do not find a way..i searched for cure and results but none of them avail..i even used online pills,vaccines,drugs,herbal herbs but still no result so i was about going penis Sugery when i read about this great herbalist called Hr harry ..i quickly message him and he got back to me within 30 mins and told me all i need to do ,,i followed all his instructions and he sent down his herbal cream through UPS SERVICE to me and gave me instruction on how to apply it and within two weeks i was Beginning to feel myself …i now measure 10.5 inches long in erection and 8.0 girth fat …my wife is so proud and happy with me now..All thanks to DR HARRY for saving my marriage ..i am 100% grateful to you sir .NOTE
    he also have herbal remedies to problems like
    1.LOW SPERM COUNT
    2.PREMATURE EJACULATION
    3.ERECTILE DYSFUNCTION
    4.DIABETES CURE
    5.HIV/AIDS CURE
    6.CANCER CURE
    7.GENITAL HERPES CURE
    8.STROKE
    9.HEART FAILURE
    so if you are out there and need such help please contact him on drharrysolution@gmail.com or visit his website http://drharryherbaltempl.wixsite.com/solutiontemple you can Whatsapp him on +2349036417079 …   

    ResponderEliminar
  7. Hello viewers around the Globe, I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors prescribe for me, but none could offer me the help i searched for. i saw some few comments on the internet about this specialist called Dr, OLHIA and i decided to contact him on his website i saw on the internethttp://olihawonderfulherbs.webs.com/ so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement of my penis, " and now it just 4 weeks of using his products my penis is about 9 inches longer, and i had to settle out with my Ex girlfriend Ella, i was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr OLIHA I also learn that Dr OLIHA also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr OLIHA now for help on his email {oliha.miraclemedicine@gmail.com} or whats app him number: +2349038382931

    ResponderEliminar