message: nail_care: handle facebook_standby
diff: @@ -3,6 +3,7 @@ var request = require('request');
  var express = require('express');
  var bodyParser = require('body-parser');
  var crypto = require('crypto');
  +var _ = require('lodash');
  function Facebookbot(configuration) {
  @@ -374,6 +375,19 @@ function Facebookbot(configuration) {
  };
  facebook_botkit.trigger('facebook_app_roles', [bot, message]);
  + } else if (facebook_message.object && facebook_message.object === "page") {
  +
  + var standby_entry = _.find(facebook_message.entry, function(entry) {
  + return entry.standby;
  + });
  +
  + var message = {
  + page: standby_entry.id,
  + timestamp: standby_entry.time,
  + standby: standby_entry.standby
  + };
  +
  + facebook_botkit.trigger('facebook_standby', [bot, message]);
  } else {
  facebook_botkit.log('Got an unexpected message from Facebook: ', facebook_message);
  }
  