Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

FB Workplace - botkit fails to trigger log-in log-out events #1109

Closed
ariel-learningpool opened this issue Oct 30, 2017 · 0 comments
Closed

Comments

@ariel-learningpool
Copy link
Contributor

Hi,

Botkit version: 0.6.4

We have started working on creating a bot in Facebook Workplace. In the platform, you are able to subscribe to security events like log-in log-out events Ref 1 Ref 2. The object that is sent from facebook doesn't include messaging property when handling webhook payload making it not trigger properly. Currently, Botkit relies on that property to be present.

Expected behaviour:
When log-in event is fired from Facebook Workplace trigger it properly so that you are able to listen for it in the controller. controller.on('log_in', function(bot, message) {} );

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants