Hello everybody! Nonetheless with me to share some expertise, thought, or opinion about technology-related with the software program engineering area. On this article, I need to share methods to create a easy Chatbot on Messenger utilizing Golang!
To present some context to what we must always do, listed below are a number of factors we are going to deal with:
- Have a Fb account or create a brand new one.
- Create a Fb web page.
- Create a Fb app (needs to be auto-created).
- Create a webhook server.
To obtain a message despatched by the end-user to the Messenger (Fb web page), we have to present a Webhook server with REST API. The structure design will appear to be this diagram:
I suppose these days, folks have a Fb account. Nonetheless, if not, go to https://www.fb.com to simply Signal Up by clicking Create New Account button.
Fb Web page
Making a Fb web page could be finished by the menu on the homepage.
Then click on on the Create New Web page button to go to a Create a Web page Type.