#7 Handle Text and Attachment Messages | Messenger Platform Crash Course For Absolute Beginners
Автор: HaryPhamDev
Загружено: 2020-09-26
Просмотров: 805
Описание:
The last step to build a simple chatbot (with Node.js server and Messenger Platform) is to handle the Text and Attachment messages.We will build a simple Messenger experience that does the following:
1. Parses the message and sender's page-scoped ID from an incoming webhook event.
2. Handles messages and messaging_postbacks webhook events.
3. Sends messages via the Send API.
4. Responds to text messages with a text message.
5. Responds to an image attachment with a generic template that uses the received image.
6. Responds conditionally to a postback payload.
In this tutorial, I will guide you to learn the concepts used in the Messenger Platform, so that in the end, we can build an effective chatbot with this platform.
For each topic, we will be looking into the details, so it will be suitable for beginners.
📚 Materials/References:
Deploying a Node.js app to Heroku in 3 mins:
• How to deploy a NodeJS app to Heroku in 3 ...
Heroku deploy failure - Top 3 error newbies always have:
• Heroku deploy failure - Top 3 error newbie...
Getting Started on Heroku with Node.js:
https://devcenter.heroku.com/articles...
Previous videos:
How to create a Facebook Page in 3 mins: • #1 Create a Facebook Page | Facebook Messe...
How to create a Facebook App in 3 mins: • #2 Create a Facebook App | Facebook Messen...
How to verify the Facebook Webhook: • #4 Verify Facebook Webhook | Messenger Pla...
Deploy your Facebook Webhook to Heroku cloud: • #5 Deploy your webhook (Node.js server) | ...
Handle Text and Attachment messages: https://developers.facebook.com/docs/...
Webhook Setup Document: / webhook-setup
Facebook webhook events: https://developers.facebook.com/docs/...
Full Playlist "Facebook Messenger Platform Crash Course For Absolute Beginners": • Facebook Messenger Platform Crash Course F...
Build an awesome Messenger Chatbot with Node.js: • Super Chatbot to Boost E-commerce Business...
🧠 Concepts Covered:
Get the Facebook Sender ID - PSID (page scoped ID)
Handle Text messages
Write the Send API with "request" module
Handle Attachment messages with "generic template"
Handle postback buttons
🌎 Find Me Here:
Facebook Fanpage: / haryphamdev
Patreon: / haryphamdev
Twitter: / haryphamdev
GitHub: https://github.com/haryphamdev
PLEASE CLICK THE 🔔BELL TO GET UPDATES AND DON'T FORGET TO ► SUBSCRIBE! ► https://bit.ly/subscribe-haryphamdev
#facebookMessengerPlatform #facebookMessengerChatBot #beginnerCrashCourse
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: