Instagram Integration
A guide to send and receive messages from your Libraria Chatbot using Instagram messaging
Step 1: Set Up a Instagram Professional Account
- Sign up for a Instagram Professional Account.
- Connect your business Facebook Page to your Instagram Professional Account.
- Complete the setup by providing the necessary business details.
Step 2: Setup Your App in Meta
-
If you do not have your app created in Meta, please complete the instructions in the previous guide named “Getting Started”.
-
Head over to your app and add the Messenger and Webhook products. Add Messenger and Webhook products
-
You will find the products on the Developer App Dashboard located on the left side. Navigate to Instagram Settings
-
Click Generate Token and copy the Page Access token. You will neeed this later.
-
Head over to the settings of your Meta Business Account and click Instagram.
Take note of your Business Account ID.
Step 3: Add the Instagram Chat Integration in your Libraria Account
-
Navigate to “Settings” under your desired library.
-
Navigate to Integrations and click Instagram
-
Paste your previously saved Instagram Buisness Account ID and Page Access token
-
Copy the webhook URL and Token
Step 4: Setting up your Webhook Endpoint
-
Head back to your Meta Developer Account and select your app.
-
Go to Instagram Settings and go into the Webhooks Section and click “Edit callback URL”. Paste your webhook URL and Token from Libraria here.
-
After successfuly saving your URL and token, click “Edit Subscriptions” and subscribe to “messages”.
Congratulations, you have successfully setup your Instagram Integration.
Official Meta documentation can be found here.