Instagram Messenger
Set up
To set up your assistant integration in Instagram Messenger, you will need the following:
A Facebook account registered in the developer console.
A Facebook page connected to Meta Business.
An Instagram account connected to Meta Business.
Create a Meta app
Access the Facebook developer console.
Click on 'Create application', select 'Other', and then click on 'Continue'.
Select 'Business' in the next step.
In the form, fill in all fields and click on 'Create application'.
In the Dashboard menu section, click 'Configure' for the Instagram product.
Generate a Permanent Access Token
Go to Instagram > Setting up the API with Instagram login.
In the first step, click on 'Add Account'.
Log in with the Instagram account you want to connect to the assistant.\
Save and click on 'Generate Token'.
Copy the generated token for future use.
Obtain the Instagram Page ID
Go to Instagram > Setting up the API with Instagram login.
Copy the Page ID displayed below the Instagram account.
Obtain the application secret key
Go to Instagram > Setting up the API with Instagram login.
In the third step, click on 'Configure' and add the URL of your website and save.
Again, click on 'Configure business login' and copy the Instagram application secret key.
Connect your app with your assistant
Activate integration in 1millionbot platform
Go to the Channels section on the platform.
Activate Instagram and click on 'Settings'.
Enter the previously obtained data: Application Secret Key, Permanent Access Token and Instagram Page ID
Click on 'Save'.
Activate integration in Meta
Obtain the Callback URL
Go to the 1millionbot platform and click on the 'Info' button in the Instagram channel to get the callback URL.
Configure the Meta Webhook
In the Instagram > Setting up the API with Instagram login menu section, click on 'Edit' or 'Add' in the Webhook section (second step).
Paste the previously obtained callback URL and Permanent Access Token.
Click on 'Save'.
Set permissions
In the previous section, click on 'Administrate'.
Subscribe to messages permissions.
Publish Meta app
Now, your application is in development mode, so you can test the assistant's operation as long as you are the owner or have access to the Instagram account connected to the assistant.
To publish the assistant for public interaction, complete the last step.
Done! Once published, perform tests to verify the operation of your assistant on the provided Instagram account. 🎉
Limitations
A maximum of (200 * Number of Followers) messages can be sent per day per bot.
Buttons must have a maximum of 20 characters.
Maximum of 3 buttons per message.
Last updated