How to add facebook comments to my website page using facebook API?

With the new "comments edge" implementation, does somebody know if I can let people to add comments to my website page using my own "add comment" form?

According to documentation you can publish a comment to any object_id (and an object_id could be a website url I think).

Answers


Couldn't you just use the Comments Plugin (https://developers.facebook.com/docs/plugins/comments), or do you need to create something custom by all means?


After a research, is not possible to use an external form to add facebook comments to a page, so we are using a "mix" with the facebook comments plugin to submit a comment, and our display comments view to show them. You can check it here: http://www.gemsmoda.com/p44026-ref-55.html (down bellow)


<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_GB/sdk.js#xfbml=1&version=v2.8&appId='your-app-key'";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://stackoverflow.com/questions/19050121/how-can-i-moderate-facebook-comments-posted-in-my-website" data-numposts="5"></div>

Need Your Help

Calling Thread.Run in an ASP.Net application running on IIS

asp.net multithreading async-await threadpool application-pool

Consider the following code which runs in an ASP.Net web application on IIS...

EOleSysError "The system cannot find the file specified" in COM object

c# delphi dll com delphi-7

I am working on a Delphi7 project which uses COM components to interact outside delphi code. All these components are developed in C#. Involked .tlb and .dll files for all COM components. Registere...