return block("me", userIds);
}
public Map<String, Boolean> block(String pageId, List<String> userIds) throws FacebookException {
ensureAuthorizationEnabled();
String _userIds = z_F4JInternalStringUtil.join(userIds.toArray(new String[userIds.size()]), ",");
HttpResponse res = post(buildEndpoint(pageId, "blocked"), new HttpParameter[]{new HttpParameter("uid", _userIds)});
Map<String, Boolean> blocks = new HashMap<String, Boolean>();
JSONObject jsonObject = res.asJSONObject();
Iterator<String> uids = jsonObject.keys();
while (uids.hasNext()) {
String uid = uids.next();
boolean result = getBoolean(uid, jsonObject);
blocks.put(uid, result);