TechSuggest is a Facebook Messenger AI designed to showcase the key features of the Messenger Platform. This project demonstrates how automation and AI-generated responses can create a seamless and engaging messaging experience. Project Overview TechSuggest is an AI-powered chatbot integrated into a Facebook Page Messenger. Users can interact with the bot by selecting a device category and answering a series of guided questions. Based on the user's responses, the chatbot utilizes the Google Gemini 2.0 Flash API to provide tailored device recommendations.
Access the Messenger experience of TechSuggest
- Users start by interacting with the Choose Category button.
- They select from three main device categories: Phone, Laptop, Tablet
- The chatbot asks additional questions based on: Primary use case (e.g., gaming, work, study, etc.), Screen size preference, Other relevant preferences
- The collected user inputs are sent to the Google Gemini 2.0 Flash API.
- The AI processes the data and returns a personalized device recommendation.
- Facebook Page: Will be used as the identity of your messaging experience. When people chat with your page. To create a new Page, visit https://www.facebook.com/pages/create.
- Facebook Developer Account: Required to create new apps, which are the core of any Facebook integration. You can create a new developer account by going to the Facebook Developers website and clicking the "Get Started" button.
- Facebook App: Contains the settings for your Messenger automation, including access tokens. To create a new app, visit your app dashboard.
Before you begin, make sure you have completed all of the requirements listed above. At this point you should have a Page and a registered Facebook App.
- Go to your app Basic Settings, Find your app here
- Save the App ID number and the App Secret
- Go to your app Dashboard
- Under Add Product find Messenger and click Set Up
- Now you should be in the App Messenger Settings
- Under Access Tokens, click on Add or Remove Pages
- Select the desired page and allow "Manage and access Page conversations" in Messenger
- Select the desired page and an access token should appear
- Get the Page ID from the page access token by using the Access Token Debugger
- In the section Built-In NLP, select your page and enable the toggle
Clone this repository on your local machine:
$ git clone https://github.com/FutureMindsDev/TechSuggest.git
$ cd TechSuggest
You will need:
Send a message to your Page from Facebook or in Messenger.
If you see a response to your message in messenger, you have fully set up your app! Voilà!