message: move getinstance out of webserver_up event
diff: @@ -457,16 +457,6 @@ function Facebookbot(configuration) {
  webserver.use(abortOnValidationError);
  }
  - facebook_botkit.getInstanceInfo().then(function(instance) {
  -
  - controller.identity = instance.identity;
  -
  - }).catch(function(err) {
  -
  - console.error('Could not load bot identity!');
  - throw new Error(err);
  -
  - });
  });
  @@ -864,6 +854,19 @@ function Facebookbot(configuration) {
  }
  + facebook_botkit.getInstanceInfo().then(function(instance) {
  +
  + controller.identity = instance.identity;
  +
  + }).catch(function(err) {
  +
  + console.error('Could not load bot identity!');
  + throw new Error(err);
  +
  + });
  +
  +
  +
  facebook_botkit.startTicking();
  