Chat bot: Create a bot on Facebook Messenger

Chat messaging on Facebook Messenger is a new way of interacting with users on Facebook pages and applications. They were launched some time ago and since then many chat bots have been created.

These bots are very easy to install as they require minimal encoding capabilities. All you need to do is set up an API, which is pretty basic.Chat bot

If you own a small business or a page that does not have the money and skills to do so, you can use Botsify. It is a web service that allows you to use a bot on your Facebook page completely free of charge. It is very easy to use and does not require any coding skills. All you need is thirty minutes of your time and this publication will lead you to the process.

To create a bot for Messenger, you must first have a Facebook page and a Facebook application. Creating a Facebook page is pretty simple, but you'll need a little help to create an application that can work with Botsify. If you do not already have a Facebook page, create one.

Create a chat bot app on Facebook

Visit the page Facebook developers and create your first app by opening the drop-down menu in My Apps.

When prompted, type a name for the application, and write an email ID.

The first settings

Αφού πατήσετε το Create App ID, θα πρέπει να ορίσετε μια κατηγορία για την εφαρμογή σας. Οι κατηγορίες που θα χρειαστούμε είναι "Messenger" και "Webhooks." Προσθέστε και τις δύο κατηγορίες ώστε να εμφανίζονται αριστερά της οθόνης σας για να δημιουργήσετε το bot.

In the settings of the new app and the Messenger category, you must link the page you created at the beginning with your new App.

You will be asked to license the application

If you have several pages, you can choose which ones you want from them to connect to the application. You should be the owner of the page and not the administrator.

Linking your page will generate an access ID for the page. You will need this when you set up the bot. You can copy it to a text file so you can find it faster when you need it (below), or you can always go back to your app control panel, do στην καρτέλα "Messenger" για να δείτε και να αντιγράψετε το αναγνωριστικό.

Με συνδεδεμένη τη σελίδα σας μπορούμε να προχωρήσουμε στη σύνδεση των Webhooks. Κάντε κλικ στο "Webhooks" που βλέπετε αριστερά στην οθόνη σας.

Select and click on Subscribe to this topic. You will be prompted for one Callback URL. Do not close this tab. Create one free account at Botsify.

Let's go Botsify

After signing up for Botsify, you'll see a dashboard. Click on Bot for Facebook.

Name your bot,

With a click on create you will be given it Webhook URL and Secret Key.

Στην ίδια σελίδα θα πρέπει να προσθέσετε το διακριτικό πρόσβασης της σελίδας σας στο Facebook. Για να το κάνετε θα πρέπει να επιστρέψετε στον πίνακα εργαλείων της εφαρμογής σας στο Facebook για προγραμματιστές, κάντε κλικ στην επιλογή "Messenger" από την αριστερή στήλη και αντιγράψτε το διακριτικό.

Paste it into the Page Access ID field in Botsify and click 'Create Bot'.

Ας ολοκληρώσουμε τις ρυθμίσεις. Επιστρέψτε στον πίνακα εργαλείων της εφαρμογής σας στο Facebook και κάντε κλικ στο Webhooks για να τις ρυθμίσετε. Κάντε κλικ στο Messenger και κάτω από το Token Access Token θα δείτε την επιλογή "WebHooks Settings".

Κάντε κλικ και θα εμφανιστεί το παραπάνω πλαίσιο. Επικολλήστε πάλι το callback URL και εισαγάγετε το μυστικό κλειδί. Ελέγξτε τις πέντε επιλογές και, στη συνέχεια, κάντε κλικ στην επιλογή 'Επαλήθευση και αποθήκευση' ή Verify and Save.

From the Messanger tab to App Review for Messenger, please review the operation pages_messaging which is necessary for sending messages. To get permission to use the feature, you will be asked for some add-ons, such as giving a question and an answer for your bot.

Στη συνέχεια θα πρέπει να επιστρέψτε στο Botsify. Στις ρυθμίσεις Webhooks, κάντε κλικ στο "Ενεργοποίηση". Το bot σας θα δημιουργηθεί.

You should also activate your Facebook app as shown below:

Configure it Cat Boots

Τώρα που έχετε δημιουργήσει το bot, ήρθε η ώρα να το διδάξετε πώς να "μιλάει". Κάντε κλικ στην επιλογή Setup basic :

There are several types of responses that you can configure, from a basic answer for bot testing to several templates that allow you to send pictures and user links as replies.

Proceed and explore Botsify. The service provides several tutorials that will lead you to create a very smart bot.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).