Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@chen-ye chen-ye released this 02 May 18:33
  • BREAKING: hubot-fb now automatically sets up webhooks! Manually specifying FB_VERIFY_TOKEN is no longer necessary, but you now need to specify FB_PAGE_ID, FB_APP_ID, FB_APP_SECRET, and FB_WEBHOOK. For simplicity's sake, this is required even if you previously have manually set up webhooks.
  • BREAKING: FB_ROUTE_URL's new default is /hubot/fb, to reduce the chance of routing conflicts. Note that hubot-fb now updates webhooks to the new FB_ROUTE_URL automatically, so no action is needed if you do not have a conflicting URL.
  • New: Setting FB_AUTOHEAR to true allows hubot-fb to treat all direct messages (which is all the API currently supports) as messages that hubot will listen to. E.g., for a robot named "hubot", both "ping" and "@hubot ping" will be passed as "@hubot ping", when FB_AUTOHEAR is enabled.
  • New: Emit fb_optin and fb_authentication events.