Before you start sending test messages to your Instagram business account, you will need access to the following:
- An Instagram business account that will receive and send messages
- A Facebook page connected with that account
- A Facebook developer account that can perform tasks on that page
- A registered Facebook App with basic settings configured
- An Instagram authentication token
Sinch Conversation API for Instagram messaging service is only available as a Closed Beta integration. To add the Instagram messaging service to your App, you should contact Sinch Account Manager.
For testing purposes, you will need one test Instagram business account. You can create a new Instagram business account by creating a new or renaming an existing account with "test_" as a prefix to your username. For example:
Test Instagram business accounts will only receive Instagram messages from users that are added as a tester, developer or admin of the Facebook App linked with the Instagram Account.
If you already have an Instagram business account you can skip this step.
On Instagram platform, you can convert your personal profile to a business account or create a new one using this guide.
Only business accounts can send and receive messages using the Conversation API Instagram integration.
If you already have a Facebook Page you can skip this step.
To send and receive message using the Instagram messaging service, you need a Facebook Page connected to your Instagram business account. You can learn how to create a Facebook Page here.
If you already have a Facebook App you can skip this step.
To set up the Instagram messaging service, you need a Facebook App. If you need to create one, follow this guide.
Access the settings section of your Facebook Page.
Navigate to the Instagram section and click the Connect Account button and login to your Instagram business account.
Your Instagram account is now connected to your Facebook Page.
In order to send messages using the Instagram messaging service you must enable Connected Tools in the Instagram business account.
- In the Instagram app Settings menu, navigate to the Privacy section.
- In the Privacy menu, navigate to the Messages section.
- In the Message Controls menu, enable Allow Access to Messages under the Connected Tools section.
Log in to the developers.facebook.com and select your App.
Click Add or Remove Pages and select your Instagram business account and your Facebook Page.
On this page, you can see all Facebook Pages that are connected to your Facebook App.
- Click the Generate Token button to generate an Instagram Access Token.
In order to generate a token, the Facebook Page must be connected to an Instagram Business Account.
Now you can use the generated Instagram Access Token to set up your Conversation API Instagram integration.
You can find the App Secret for you app in the Settings > Basic > App Secret (click in show)