paint-brush
Build your first Facebook Messenger bot in Ruby with Sinatra (Part 3/3)by@progapanda
2,014 reads
2,014 reads

Build your first Facebook Messenger bot in Ruby with Sinatra (Part 3/3)

by Andy Barnov11mJanuary 21st, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<em>In </em><a href="https://hackernoon.com/smooth-coordinator-1427dce17f00#.1die4td09" target="_blank"><strong><em>Part 1</em></strong></a><em> of this tutorial we set up our page on Facebook and hooked it to a </em><a href="http://www.sinatrarb.com/" target="_blank"><em>Sinatra</em></a><em> server running on our machine through </em><a href="https://ngrok.com/" target="_blank"><em>ngrok</em></a><em>. We introduced the </em><a href="https://github.com/hyperoslo/facebook-messenger" target="_blank"><em>facebook-messenger</em></a><em> gem from </em><a href="http://www.hyper.no/" target="_blank"><em>Hyperoslo</em></a><em> and we hooked our bot to </em><a href="https://developers.google.com/maps/documentation/geocoding/intro" target="_blank"><em>Google Geocoding API</em></a><em>. In </em><a href="https://hackernoon.com/build-your-first-facebook-messenger-bot-in-ruby-with-sinatra-part-2-3-b3d929a4606d" target="_blank"><strong><em>Part 2</em></strong></a><em> we added new features to our bot and saw the complexity of our code increase, so we had to refactor. We added two different sets of menus to make interaction with our bot easier.</em>

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Build your first Facebook Messenger bot in Ruby with Sinatra (Part 3/3)
Andy Barnov HackerNoon profile picture
Andy Barnov

Andy Barnov

@progapanda

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Botwiki
Awesomeopensource