GPT Chatbot Integration For Instagram
Prerequisites
Before integrating Instagram with YourGPT Chatbot, ensure you have the following prerequisites in place:
Meta Developer App
(opens in a new tab) to manage connections between Instagram and YourGPT Chatbot, including webhooks and access tokens.- Administrator or Developer roles for a
Facebook Page
(opens in a new tab) since Instagram accounts need to be linked to a Facebook page for using the Facebook Graph API. - An
Instagram Professional Account
(opens in a new tab) is required to access features specific to professional accounts.
Setting up Instagram Integration
- Go to the
Integration Section
(opens in a new tab) in YourGPT Chatbot and Connect the Instagram integration if not already installed. - Click
Connect Instagram
. Proceed to your chatbot settings. - Add the following details in the Instagram section:
- App ID: Your YourGPT app's identification, created at Meta Developer platform.
- App Secret: The secret key of your YourGPT app.
- Page ID: The ID of your Facebook page.
- Access Token: The access token.
Setting up Instagram
Create a Facebook Page
- If you don't have a Facebook page,
create one
(opens in a new tab). Ensure you have an administrator or developer role to link your chatbot.
Create a YourGPT Chatbot App
- Log in to
Facebook for Developers
(opens in a new tab). - Select My Apps and
create a new app
. - Choose Business as the App Type.
- Assign a name to your app.
App ID and Secret
- In Settings, under Basic, find the
App ID
andApp Secret
. - Click Show in the App Secret text box. Copy both for channel configuration.
Page ID and Access Token
- In Messenger settings, under Instagram Settings, click
Add or Remove Pages
. - Add your Facebook page and copy the number under your page name for
Page ID
. - Click
Generate Token
and copy forAccess Token
.
Submit your App for Meta Review
During Development Mode, your bot is accessible to admins, developers, and testers only. After approval and public release, it becomes available to the general public.
Learn more about the App Review process
(opens in a new tab). For troubleshooting, follow this documentation
(opens in a new tab) if your app got rejection.