message: Add get all labels
diff: @@ -1036,6 +1036,32 @@ function Facebookbot(configuration) {
  }
  });
  },
  + get_all_label: function(fields, cb) {
  + var uri = 'https://' + api_host + '/' + api_version + '/me/custom_labels?access_token=' + configuration.access_token;
  +
  + if (fields && fields.length > 0) {
  + uri += '&fields=' + fields.join(",");
  + }
  +
  + request({
  + method: 'GET',
  + json: true,
  + uri: uri
  + }, function(err, res, body) {
  + if (err) {
  + facebook_botkit.log('Could not get labels');
  + cb(err);
  + } else {
  + if (body.error) {
  + facebook_botkit.log('ERROR in getting labels call : ', body.error.message);
  + cb(body.error);
  + } else {
  + facebook_botkit.log('Successfully get labels');
  + cb(null, body);
  + }
  + }
  + });
  + }
  };
  facebook_botkit.api = {
  