Comments facebook X wordpress

Asked

Viewed 116 times

0

How to make the comments made on a Facebook fan page also be automatically published on the site? Some fan pages, such as Earth’s, for example, show the following message below the comments: "This comment will also be posted on www.terra.com.br"

My site is wordpress

Here’s what I want, in red: https://imgur.com/a/wNF7Z

  • 2

    Hugo, if you found the solution, post it as an answer below and mark it as accepted. Using the above question field will confuse your post. This site is not like forums, visit the [tour] to see how it works.

  • @Articuno ok, thanks for the tip friend, I already put the answer, but I can only click as solution tomorrow (when I click 'accept answer' he says I can only do it tomorrow) .

1 answer

1

Okay, guys... I managed to settle here after a lot of fighting, the flow is as follows:

1- create your facebook app with any name; 2- set it to be an app for a website and make the same public; 3- in the app’s platform configuration, select 'website'; 4- enter the tag

<meta property="fb:app_id" content="(seu app id)">

before head closure; 5- insert jdk right after head opening :

<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/pt_BR/sdk.js#xfbml=1&version=v2.10&appId=(seu app id)";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

6- Enter the tag in the location you want the comment box to appear:

7- go to comment moderation settings, click settings and turn on 'comments mirroring' or 'comments mirroring', something like that. https://developers.facebook.com/tools/comments

By now the comments should be showing 'mirroring''.

Any questions you may ask me. hug.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.