How can I moderate Facebook comments fb: comments social plugin?

I have a facebook application that is on the Canvas page and I view it on the “Facebook Page” tab. A similar button works, comments work, and the delete button works (I have candelete enabled). The facebook documentation, however, says that moderators of the application can moderate comments by clicking on the post button. How can I open this button? And how can I get notifications for work? I have a user id in the attributes for comments.

I tried to initialize sdk using asynchronous code and my application id, but it does nothing.

<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({ 
appId: '115173993418',
status: true,
cookie: true,
        xfbml: true
    });
};
(function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
  '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
} ());
</script>
+3
source share
3

, . , , , " " "". , , .

<meta property="fb:moderator" content="FACEBOOK-PROFILE-ID"/>

,

+4
<meta property="fb:app_id" content="275791699247614"/>

you can try to place the above meta tag on your page .. then access your mod tool

https://developers.facebook.com/tools/comments/?id=YOURAPPID&view=recent_comments

0
source

Source: https://habr.com/ru/post/1778197/


All Articles