Welcome to the Facebook Messenger Cinema Chatbot, LLM powered assistant designed to revolutionize the way users discover and book movie tickets. Leveraging geolocation, this chatbot provides personalized cinema recommendations, movie showtimes, trailers, and enables ticket booking at user-preferred cinemas. It also offers a subscription service for updates on upcoming movie releases.
- Movie Discovery: Finds nearby cinemas based on user geolocation.
- Showtimes and Trailers: Shares movie showtimes and trailers to help users make informed decisions.
- Ticket Booking: Facilitates ticket booking for the selected movie at a preferred cinema.
- Upcoming Movies Subscription: Allows users to subscribe and receive recommendations for upcoming movies.
- Natural Language Processing: Employs wit.ai to understand and process user queries effectively.
- Integration with MovieGlu: Accesses extensive movie metadata from MovieGlu for accurate information.
- Node.js: Powers the backend of the application.
- wit.ai: Processes natural language, enabling the chatbot to understand user inquiries.
- Facebook Graph API: Manages data exchange with the Facebook Messenger platform.
- MovieGlu API: Retrieves detailed movie metadata.
- MongoDB: Stores information about subscribed users.
- ngrok: Exposes local servers to the internet, facilitating local development.
- Configuration: Initialize configuration parameters in
config/default.json. Refer toapp.jsfor parameter descriptions. Environment variables can also be set as defined inapp.js.
- Starting the Server: Use
npm startto launch the server. For local development, ensure ngrok is installed to expose your server to the internet. - Webhook Requirements: A public URL (SSL-certified by a recognized authority) is necessary for Facebook servers to reach your webhook. Refer to Facebook's Webhook Setup Documentation for more details.
- The webhook implementation is detailed in
app.js, routing to/webhook. - It handles authentication, message processing, delivery confirmations, and postbacks.
- For extensive details, visit the Facebook Webhook Reference.
- Developer Dashboard Configuration: The chatbot requires author configuration through the Facebook Developer Dashboard to be operational. It is not publicly available on Facebook Messenger without this setup.