What's Happening?

A Smart Facebook Messenger Chat Bot

Stackathon Project

by Fanny Jiang

Grace Hopper 1702

What's Happening Chat Bot

A Facebook Messenger Chat Bot that suggest events and activities using artificial intelligence

Tools

  • Node/Express.js
  • Facebook Messenger
  • API.ai
  • Eventbrite API

DEMO

Challenges

  • Understanding how to link the different platforms together
  • Getting each platform to "talk" to one another
  • Manipulating received data and sending it where it needs to go

WebhookS

  • Allows for real-time data retrieval
  • No longer need to continuously make requests for changes in data

Tools/Resources

Girlie Mac -- Simple Facebook Chatbot Tutorial:

http://www.girliemac.com/blog/2017/01/06/facebook-apiai-bot-nodejs/

Facebook Messenger

API.ai

Eventbrite API

Thank you!

What's Happening Bot: ​m.me/whatshappeningEVE

Github: https://github.com/fanny-jiang/whats-happening-bot

Blog: https://medium.com/@heygirlcode

Slides: https://slides.com/fannyjiang/what-s-happening/

API.ai

  • Artificial intelligence software that analyzes a user's text and recognizes developer specified intent keywords
  • Intent keywords are associated with action keywords
  • Action keywords let the server know what task needs to take place next.

Eventbrite api

  • RESTful API with many endpoints
  • Make a GET '/events/search' request to the Eventbrite API with the activity and city from the customer as params, in addition to other params to narrow search down by date, distance, and category ID

Work in Progress

  • Add more "Intent" keywords to API.ai/train the AI to learn more intent keywords
  • Allow customer to customize search
  • Allow for more categories of events to be found

Tools/Resources

Girlie Mac -- Simple Facebook Chatbot Tutorial:

http://www.girliemac.com/blog/2017/01/06/facebook-apiai-bot-nodejs/

Facebook Messenger

API.ai

Eventbrite API

Thank you!

What's Happening Bot: ​m.me/whatshappeningEVE

Github: https://github.com/fanny-jiang/whats-happening-bot

Blog: https://medium.com/@heygirlcode

Slides: https://slides.com/fannyjiang/what-s-happening/

What's Happening?

By Fanny Jiang

What's Happening?

Fanny Jiang built this chatbot, named Eve, using Node/Express to create the simple HTTP server, API.AI, a natural language understanding platform, and the Eventbrite's REST-based API as the source of events. She wrote webhooks connecting the Facebook server and API.AI to the chatbot's Node server, allowing for the data retrieval between the different platforms to occur in real-time. This means that when a customer chats with Eve and requests an event in a certain city, Eve will be able to analyze the text for the event and city "intents", search Eventbrite for matching events, and then respond back to the customer with a suggestion, all within a matter of seconds! If you'd like to chat with Eve, you can find her at m.me/whatshappeningEVE. Source code: https://github.com/fanny-jiang/whats-happening-bot

  • 227