message: Add remove a user from a label
diff: @@ -960,6 +960,33 @@ function Facebookbot(configuration) {
  }
  }
  });
  + },
  + remove_user_from_label: function(user, label_id, cb) {
  + var uri = 'https://' + api_host + '/' + api_version + '/' + label_id + '/label?access_token=' + configuration.access_token;
  +
  + var body = {
  + 'user' : user
  + };
  +
  + request({
  + method: 'DELETE',
  + json: true,
  + body: body,
  + uri: uri
  + }, function(err, res, body) {
  + if (err) {
  + facebook_botkit.log('Could not remove a user from a label');
  + cb(err);
  + } else {
  + if (body.error) {
  + facebook_botkit.log('ERROR in removing a user from a label API call : ', body.error);
  + cb(body.error);
  + } else {
  + facebook_botkit.debug('Successfully remove a user from a label', body);
  + cb(null, body);
  + }
  + }
  + });
  }
  };
  