-
-
Save cAstraea/98af40ea784347dfcbaafd4414479fbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Send the login button | |
botly.sendButtons({ | |
id: recipientId, | |
text: 'Please Login :)', | |
buttons: [botly.createAccountLinkButton(`https://${LOGIN_DOMAIN}/auth/facebook`)], | |
}); | |
//Listen on the account link event | |
botly.on('account_link', (sender, message, link) => { | |
//Continue conversation | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment