L
L
lanvin lanvin072017-11-07 14:22:37
Facebook
lanvin lanvin07, 2017-11-07 14:22:37

How to identify members of a large group who have blocked a moderator?

Moderating a FB group of 60k members and some members have blocked me to spam me.
In a smaller group, I manually identify them like this: I scroll the list to the end, copy it to the clipboard, paste it into Excel, then filter it. The searched ones are not links to the profile, unlike the others.
The same group is too large for such manual work - neither the time nor the resources of the computer will be enough to display a list of this size from a dynamically loaded page.
Can they be found and displayed in a report using the API?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2017-11-07
@zoonman

https://developers.facebook.com/docs/graph-api/ref...

/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->get(
    '/здесь должен быть идентификатор группы/members?fields=link,first_name',
    'тут должен быть токен'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */

You can specify the required fields through the fields property

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question