官术网_书友最值得收藏!

Building your first bot

Chatfuel bots can be published on two deployment platforms: Facebook Messenger and Telegram. Let us build a chatbot for Facebook Messenger first. In order to do that, we need to create a Facebook Page. Every chatbot on Facebook Messenger needs to be attached to a page. Here is how we can build a Facebook Page:

  1. Go to https://www.facebook.com/pages/create/.
  2. Click the category appropriate to the page content. In our case, we will use Brand or Product and choose App Page
  3. Give the page a name. In our case, let's use Get_Around_Edinburgh. Note that Facebook does not make it easy to change page names. So choose wisely.
  4. Once the page is created, you will see Chatfuel asking for permission to connect to the page:
  1. Click CONNECT TO PAGE. You will be taken to the bot editor.
  2. The name of the bot is set to My First Bot. It has a Messenger URL, which you can see by the side of the name. Messenger URLs start with m.me. You might notice that the bot also comes with a Welcome message that is built in. On the left, you see the main menu with a number of options, with the Build option selected by default. We will explore other options in later sections:
  1. Click the Messenger URL to start your first conversation with the bot. This will open Facebook Messenger in your browser tab:
  1. To start the conversation, click the Get Started button at the bottom of the chat window.
  2. There you go! Your conversation has just started. The bot has sent you a welcome message:

Notice how it greets you with your name. It is because you have given the bot access to your info on Facebook. 

Now that you have built your first bot and had a conversation with it, give yourself a pat on your back. Welcome to the world of chatbots!

主站蜘蛛池模板: 洛浦县| 香港| 太湖县| 星子县| 南华县| 缙云县| 大竹县| 澎湖县| 桐庐县| 旅游| 托克托县| 石首市| 合江县| 昌乐县| 武夷山市| 海伦市| 陈巴尔虎旗| 林口县| 肇源县| 伽师县| 天全县| 周宁县| 平山县| 庆城县| 广宗县| 勐海县| 寿光市| 娱乐| 四川省| 湖州市| 徐闻县| 涞源县| 兰考县| 湟源县| 和平县| 丰原市| 潜山县| 吉首市| 高尔夫| 天水市| 桦甸市|