message: fix up secondary receivers api call
diff: @@ -709,21 +709,15 @@ function Facebookbot(configuration) {
  function(err, res, body) {
  if (err) {
  facebook_botkit.log('Could not get secondary receivers list');
  + cb && cb(err)
  } else {
  -
  - var results = null;
  - try {
  - results = JSON.parse(body);
  - } catch (err) {
  - facebook_botkit.log('ERROR in secondary receivers list call: Could not parse JSON', err, body);
  - }
  -
  - if (results) {
  - if (results.error) {
  + if (body) {
  + if (body.error) {
  facebook_botkit.log('ERROR in secondary receivers list: ', results.error.message);
  + cb && cb(body.error)
  } else {
  facebook_botkit.debug('Successfully call page message tags', body);
  - cb && cb(results);
  + cb && cb(null, body);
  }
  }
  }
  