Apr

Building Facebook Messenger chatbot: what they forgot to tell you.

                                     

There are lots of written tutorials and online videos on this subject.

Yet many of them omit important details of the bot building process. These details may vary from one user to another and are difficult to describe in a unilateral fashion. Consequently it is easier for tutorial writers not to mention them at all. We try here to fill the gap and provide some additional clarity.

1. Creating Facebook app.

One of the first steps in building a Facebook Messenger bot is creating a Facebook App. It requires a business Facebook page. This might seem obvious to avid social users yet worth mentioning: a business Facebook page can only be created from a personal Facebook page. If you already have a business Facebook page move on to the next step. If you have a personal Facebook page go on and create a business page. If you are among the lucky ones that live without Facebook presence now is your chance to become like everybody else.

2. Getting SSL certificate.

Next you need to setup a webhook. Your web application is hosted on a web server and the webhook’s role is to establish connection between Facebook and your web application via your web server. In order for the webhook to work you need SSL certificate because Facebook supports only secure connections (HTTPS) to external web servers. So first, you need to purchase it. The costs change from one company to another but it is important to buy a reliable certificate otherwise Facebook might reject it. All major ISP companies offer SSL products. Second, you need to install it on your web server. The installation process can be tricky. Sometimes you can get technical help from the ISP company that sold you the certificate (as a rule of thumb, the bigger the brand the better their technical support is supposed to be. But the cost may be higher too). You can also rely on popular tools, such as keytool command utility, assuming you know how to use them. In any case, it might be a good idea to allocate several days, up to a week, for this step when planning your project.

3. Choosing the server environment.

Your options are (almost) unlimited. Many online tutorials use Heroku which is a cloud-based web application platform, but a simple Tomcat web server would suffice too. Your decisions should be based on your business requirements.  A lightweight server such as Tomcat is a good fit when it comes to web centric, user facing applications. If backend integration comes into play, a web application server should be considered.

Your choice of programming languages is also broad. PHP is one popular option, Java is another but the list by no means ends here. Your chatbot app communicates with Facebook using POST requests, so any language that supports web protocols will work. Again, make decisions having your business goals in mind.

Interested in reading more? Check out our other blogs:

Volunteering during social distancing



nmodes is making an effort to assist you during this challenging time. Our team created this online community resource https://nmodes-coronavirus.web.app resource to help during COVID-19 self-isolation. It is powered by nmodes conversational AI.

In case you or your close ones are experiencing symptoms of COVID-19, our self-assessment tool could help to determine if further medical care is needed.

With the self-isolation assessment, you could measure whether your self-isolation procedures are appropriate or not. It is important to maintain self-isolation to protect yourself from getting infected.

If you wish to volunteer and contribute to the community our chatbot will connect you with people who need help. You can contribute either virtually and in-person.

Most importantly if you would like to get help the chatbot will connect you with a volunteer who could assist with your needs.

It is fast and easy - answer quick questions and you are all set. We have volunteers ready to help with all kinds of requests , from grocery shopping and home chores to online tutoring and sharing game time.

READ MORE

nmodes Is Helping Businesses to Succeed

                                                           

With the launch of the new dashboard nmodes is helping businesses to drive traffic and grow sales.

For example, One of our clients needed to increase traffic to their website while at the same time improve the conversion rate. In other words, they wanted to see more quality traffic.

The client made a concentrated effort on social media, however they were having difficulties in finding the target audience - traditional keywords search resulted in too much noise and did not produce desired outcome.

nmodes dashboard simplified this client’s engagement process. We created a dedicated stream that accurately addressed their targeted audience.  nmodes dashboard is actionable, so their engagement became easy. nmodes technology identifies potential customers accurately, and so their engagement became efficient.

As a result, the click thru rate rose up to 65%, traffic quality improved by 25%, and conversion increased to 6-8%

Another client relied heavily on mainstream dashboards (such as Hootsuite) These tools do not do a good job finding relevant conversations, in the process producing too much noise and forcing client’s community managers to spend long hours manually identifying these relevant conversations. The client manages multiple social account and this type of manual labour was impeding the business, both in terms of costs and efficiency.

nmodes produces highly accurate results in finding relevant conversations that do not require manual clean up. The client started using nmodes solution, and immediately freed a substantial amount of hours which enabled them to consecrate on servicing their customers and acquiring new ones.

 

READ MORE