Answer the question
In order to leave comments, you need to log in
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
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 */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question