Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christoph Rumpel:
Using Facebook Messenger Quick Replies with BotMan
Jul 03, 2018 @ 15:53:08

Christoph Rumpel, lead developer on the BotMan chatbot project, has a new tutorial posted to his site showing how to use Facebook Quick Replies with a BotMan instance.

I guess you already used quick replies for text buttons, right? But did you know that you can ask the user for email, phone number, and current location? It is time to give you a refresh of Facebook Messenger quick replies and how they work in the BotMan chatbot framework.

The post includes a video of the process of integrating these quick replies but also steps through all of the code required. Adding the replies is as easy as using the Button functionality included with the package and adding listeners. The tutorial also shows how to use them in conversations (rather than just one-off calls). It also provides a more "real world" example of asking the user for location, phone number and email with quick replies.

tagged: botman chatbot framework tutorial facebook messenger quickreply button

Link: https://christoph-rumpel.com/2018/07/using-facebook-messenger-quick-replies-with-botman


Trending Topics: