Can not post a new comment cuz of "500 - Internal Server Error" (2 posts)

  1. manhcuong27
    Posted 3 years ago #

    I'm using facebook comment for wordpress 3.4.1, I add it manual, not use the plugin. I have added the following code:

    -in "header.php"

    <meta property="fb:app_id" content="179505822174177"/>

    -in single.php body tag add Java SDK

    <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/all.js#xfbml=1&appId=179505822174177";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    -in single.php add like button and comment box

    <div class="fb-like" data-href="<?php the_permalink(); ?>" data-send="true" data-layout="button_count" data-width="760" data-show-faces="true"></div>
    <div class="fb-comments" data-href="<?php the_permalink(); ?>" data-num-posts="10" data-width="760"></div>

    After enter text I press "Comment", a loading icon show under my avatar, but no comment appear. In firebug say:

    "POST https://www.facebook.com/ajax/connect/feedback.php
    500 Internal Server Error"

    There are 2 ways after this to make comment appear. One is refresh page, and two is press "Comment" again.

    Similar problem can be found here, but no solution yet


    Anyone can help me with this please?


  2. manhcuong27
    Posted 3 years ago #

    Anyone can help me please?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic