A.I. solutions for the business sales process.

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

Posted on  Apr 06, 2017  by 
sasha uritsky

                                     

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.

Leave a Comment

Your email and website will not be published

Comments (8)
Bobbyunsox 14 days ago
Storage area, 26, is one kevin durant shoes in the largest child, dell - garage in 2002, their dad announced over 07 years of career, finally handed over 40. 2% on threes statement card. From a quite young age, Stephen throughout the shooting learned how to shoot for the feet of the get good at, when dad refused to take him to the hornets training, Stephen will be pursed mouth, not because can't visit those big-name players, the old you are, but because he also strive to be with my dad, to train his shot. At the age of 9, garage is of their own stephen curry shoes amateur league teams regarding players, only if the coach would need to outside shot collapse on the opponent's zone will become sent. Recalled the your self, garage proudly said: "when My spouse and i was a defense professionals, all start from generally there. " To go to curry shoes the original text, when the garage near the ball in midfield, people tend to overlook probably the most important thing: pool golf ball skills. Sonya, thanks to be able to his mother, then the 5 feet tall 3, cordial and some stubborn woman again as well, she was in high school graduation played point guard, turning to the volleyball after in to the campus of Virginia support, and meet the car port there's father. "If I dribble towards coast, I have to settle on to shoot or pass, it's my limit. "Dell said, "people started for Stephen impression is all he can beautiful posture hit photos, but before becoming the striker, he already was a better control player, people often ignore it. After their dribble shot, is I the most beautiful moments. Thanks to his mother. ". Tag: kyrie irving shoes kd shoes michael jordan shoes nike flyknit racer adidas alphabounce jordan retro kobe 11 kyrie 2 asics gel kayano 23 nike air force 1 high rose 7 kyrie 3 adidas iniki lerbon james jerseyslebron jerseys} hyperdunk 2016 curry 3 shoes adidas eqt keen uneek sandals kyrie 3
Bobbyunsox 14 days ago
Half-court finished,stephen curry shoes the garage 12 details and 4 rebounds 6 helps, Owen 17 rebounds, 2 assists 1 provides the upper hand slightly. But as knight defeat inside second half, even his one-on-one hit his details. In this series, OuWenBen should have certain advantages in counterpoint, like the finals last year, since the season of Christmas conflicts, with their strong personal fortunes turned. But today the warriors on the changes, let knights staggered, also let like one-on-one hit Owen curry shoes to obtain the rhythm. Actually, today most of the time was clay - Thompson Master Owen, although Owen hit a dead when in front of him, but clay height reach or to a certain degree, limits the Owen's strike. In only a few times facing single singled out in his Arsenal, although Owen features good performance, but also it's hard to come back for a knight. Entire play, scored 28 points 6 rebounds and 10 assists inside Treasury, 6 of 11 three-point kd shoes pictures. 24 points and 3 rebounds, only two assists, Owen has scored 17 points from the first half, he scored seven points from the second half. Facing the big four in the mighty, and only Michael Owen in one-on-one win garage have chances, but today's garage to complete better. Tag: kyrie irving shoes nike air presto adidas yeezy boost 350 v2 zebra Nike air force 1 Ultra asics gel kayano curry 3 curry 4 nike pg1 keen uneek sandals asics gel kayano 23 kyrie 1 shoes yeezy shoes puma rihanna creepers suede stephen curry basketball shoes kobe 11 tissot 1853 adidas alphabounce adidas zx flux kyrie shoes 3
hai2017 19 days ago

Colvyn BANNER1 Harris' business place of work cheap wedding dress here about Mumbai has a gift 'wall' decorated and funds. Between the in terms of red dress iron ware lace wedding dress rests a young silicone duck. Vendors have a slave to due to the plus size dresses fact the month of jan petite dresses 2005 whenever you are Harris white dress had become the chief executive officer of the JWT. Fell prom dresses in love with information. I doesn't understand dresses for women had been individuals that preoccupied bridesmaid dresses throughout tt-tee shirts set on written by the lace wedding dress internet poker enthusiastic gamers with the a lesser admired worldwide running. purple wedding dress I think any Aussies uniformed all the blue wedding dress family neatly, cheap wedding dress Which included, plus size wedding dress Remember cheap wedding dress his or her lives core. evening dresses

ylq 45 days ago
cheap jerseys, north face, michael kors, north face backpacks, eyeglasses stores, michael kors uhren, raiders jerseys, true religion outlet, coach outlet online, givenchy shoes outlet, abercrombie, nj jerseys, longchamp taschen, womens clothing, fdsfdf F fsdfdsf 46 days ago

coach outlet

pandora charms

mulberry bags

ray ban sunglasses

valentino

air max 2017

adidas superstar

ralph lauren outlet

ralph lauren

coach factory outlet

nike outlet

pandora outlet

burberry outlet

salomon shoes outlet

rayban

yeezy boost 350

michael kors outlet

clarks outlet

mbt shoes

burberry outlet store

gucci outlet

true religion jeans

2017.7.5yangping

chenlixiang 54 days ago
ralph lauren outlet ralph lauren outlet louis vuitton outlet online new balance 990 pandora rings clearance nike air max thea nfl jerseys wholesale michael kors geldbeutel nike air max 2017 coach outlet store online clearances ugg boots outlet prada outlet michael kors handbags birkenstock shoes michael kors outlet adidas yeezy 350 boost michael kors handbags salomon boots cheap oakley sunglasses burberry outlet christian louboutin shoes oakley sunglasses cheap longchamp les pliages nfl jerseys rolex daytona cheap mlb jerseys longchamp outlet nfl jersey coach outlet store online kate spade outlet 2017.6.27chenlixiang
coach 87 days ago
do oakley outlet no oakley outlet wrong coach factory outlet in jimmy choo outlet my eyes Louis Vuitton because Cheap Michael Kors they Coach Outlet Online are ray ban outlet set ray ban outlet in oakley sunglasses their Coach Outlet beauty, Louis Vuitton and Ray ban Sunglasses only seek to help me carry my life rather than hinder it. If you have ever hobbled in Louboutins and cursed the day you bought them, I’m sure you understand where I’m coming from. My outfit and shoes can be simple but my bag can always steal the show.Jennifer Garner brought one of her favorite Brunello Cucinelli bags and her kiddos along to church last Sunday. Shop Brunello Cucinelli Bags via Neiman Marcus

PB: What are some items you always have in your bag?
M: Lipstick, phone, pen, and notebook.

chenlina 101 days ago
chenlina20170511 timberland boots scarpe hogan borse louis vuitton louis vuitton handbags air jordan 14 air jordan kate spade outlet ralph lauren outlet miami heat jerseys coach factory outlet hermes belt polo ralph lauren tiffany and co michael kors handbags gucci shoes ugg boots asics shoes nike air max pas cher kobe shoes toms shoes replica rolex watches michael kors outlet kobe shoes hollister outlet ferragamo belt adidas yeezy louis vuitton outlet stores michael kors outlet louboutin outlet louis vuitton outlet instyler max toms uk ralph lauren hermes uk oakley store