How to implement correctly Comments Social Facebook Plugin?

1

I am implementing comments on my website and they already work, the comments if you link them with my website, BUT I can not use the function: [] Also share on Facebook . The code you use is the official Facebook is as follows:

    <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 = 'https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.12&appId=536586936693499&autoLogAppEvents=1';
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>

HTML

url = page where we put the comments.

<div class="fb-comments" data-href="<%=url%>" data-width="100%" data-numposts="5"></div>

META

<meta property="fb:app_id" content="{mi_id}"/>

ERROR

It sends me an error in the browser dashboard, it is as follows:

https://www.facebook.com/plugins/comments/async/createComment/1918748084862644/?av=100000899565079&dpr=1.5 500 ()
    
asked by Ricardo Sauceda Rojas 05.04.2018 в 03:53
source

0 answers