I\'m playing around with building a simple Facebook Messenger chatbot and I\'m having trouble sending messages in sequence.
In the example above, it should
The message is not sending in order because, the request is sent asynchronously to facebook, and can be sent in any order.
To solve this you have to call the next sendTextMessage when the message that should be sent before it has received a response.
sendTextMessage