message: Read messenger profile API settings
diff: @@ -500,6 +500,18 @@ function Facebookbot(configuration) {
  facebook_botkit.debug('Successfully configured messenger profile', message);
  }
  });
  + },
  + getAPI: function (fields, cb) {
  + request.get('https://graph.facebook.com/v2.6/me/messenger_profile?fields=' + fields + '&access_token=' + configuration.access_token,
  + function (err, res, body) {
  + if (err) {
  + facebook_botkit.log('Could not get messenger profile');
  + cb(err);
  + } else {
  + facebook_botkit.debug('Successfully got messenger profile ', body);
  + cb(null, body);
  + }
  + });
  }
  };
  