Releases: chen-ye/hubot-fb
Releases · chen-ye/hubot-fb
3.0.0
- BREAKING: hubot-fb now automatically sets up webhooks! Manually specifying
FB_VERIFY_TOKEN
is no longer necessary, but you now need to specifyFB_PAGE_ID
,FB_APP_ID
,FB_APP_SECRET
, andFB_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 newFB_ROUTE_URL
automatically, so no action is needed if you do not have a conflicting URL. - New: Setting
FB_AUTOHEAR
totrue
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", whenFB_AUTOHEAR
is enabled. - New: Emit
fb_optin
andfb_authentication
events.