• After including the JavaScript SDK on my page once, after the opening <body> tag,
    I then copied the following post:
    <div class=”fb-comments” data-href=”https://example.com&#8221; data-width=”550″ data-numposts=”5″ data-colorscheme=”light”></div>

    in the after entry widget by placing the above post in the text box as a link. But I am getting same comments on every post.
    I have tried different options but I am not getting the desired result.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there yatin_,

    Hope you’re well! ??

    I suggest you use this plugin: https://www.ads-software.com/plugins/facebook-comments-plugin/ instead of integrating it manually on your wordpress install. You just need to input your APP ID on the plugin’s setting page( Navigate to Dashboard >> Settings >> Facebook Comments).

    A tutorial on how to create facebook app: https://www.youtube.com/watch?v=TL7rHKCGUCI

    Hope it helps! ??

    Best Regards,
    Calvin

    Thread Starter yatin

    (@yatin_)

    Thanks for your reply Calvin. I don’t want to add plugin for this because through I have applied all the things but in the end, the problem is coming only which I have stated in my above query.
    Can you please tell me the manual route? Looking forward for positive and warm reply.

    Hello yatin,

    I tested the plugin on my wordpress install and it works fine. If you prefer integrating it manually , I suggest you give this a read: https://www.chriscredendino.com/2014/07/13/manually-install-facebook-comments-in-wordpress/

    Hope it helps! ??

    Best Regards,
    Calvin

    Thread Starter yatin

    (@yatin_)

    Merry Christmas Calvin. Thanks for the link but I have tried the above link earlier also. When I am putting this link in my after post widget
    <div class=”fb-comments” data-href=”<?php the_permalink() ?>” data-num-posts=”5″ data-width=”500″ data-colorscheme=”light” data-mobile=”false”></div>

    The space is allocated for the comments after post but it is blank as nothing is coming over there
    I have concern regarding the highlighted part. Can you please suggest an alternative, Calvin?

    I think there should be a ; after the_permalink()

    <?php the_permalink(); ?>

    Hello there yatin_ and lorro,

    Hope you guys are well! ??

    Could you follow the suggestion posted by lorro? Also make sure that you integrate the Javascript SDK in your wordpress (preferably after the opening <body> tag. I did this on my test site and it works fine! ??

    Where did you embed the Javascript SDK and the comment plugin code you got from facebook?

    Looking forward to hear from you. ??

    Take care,
    Calvin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘facebook comment box error’ is closed to new replies.