Instagram - Gupshup (Deprecated)
Tutorial for Instagram API Integration
Integration by flows through Gupshup. To request the flows for integration, contact the uContact team.
Instagram configuration
To integrate uContact with your Instagram page, youāll need to create or update your account into a Business/Professional account.
To do so, you must:
Go to āSettingsā by clicking in the wheel next to the āEdit profileā button.
By clicking the wheel, the following submenu will appear. Select Professional/Business Account.Ā
In the window that appears, select the Professional Account option from the left side menu and click on the āSwitch to Business Accountā button.
Click on the āSwitchā button
Once youāve created the business account, you must connect it with a Facebook business page.
The creation of a new Facebook page is required.
Ā
In order to do so, you follow the next steps:Ā
Access the āEdit profileā section.
Select the āEdit profileā option in the left side menu and access the āAccount Centerā.
Once in the āAccount centerā, select the āAccounts & Profilesā section in the left side menu and click on the āAdd accountā button.
Select the āAdd Facebook accountā option and follow the instructions on the screen.Ā
To finish, press the button āYes, finish setup.
Gupshup Integration
Creation of a Gupshup (http://www.gupshup.io ) account is required.
Create your account on Gupshup and click on the āDashboardā button next to your profile icon in the menu bar. This will deploy a submenu with several options. Select āMy Botsā.Ā Ā
Dentro de la secciĆ³n de āMy Botsā, se deberĆ” crear un Bot haciendo clic en el botĆ³n +.
To create the Bot you must complete the fields in the āGet Startedā window with the Botās name and a brief description. Press the button āNextā to continue with the configuration.
Inside the āSelect Methodā window, select the āCallback postā option and enter the webhookās URL:Ā
https://[instancename].ucontactcloud.com/Integra/resources/GupshupInstagram/event
To finish, press the āCreate Botā button.
Ā
After creating the Bot, youāll be able to see it in the āMy Botsā section. There, the following step would be to configure the Instagram channel.Ā
How to configure the Instagram channel:Ā
Select the Bot and click on the āChannelsā button under the āPublishā column.
Click on the āPublishā button next to the Instagram line inside the āChannels Supportedā window.Ā
Onche published, youāll be asked to connect your Facebook business account.Ā
To connect your Facebook account you must follow the instructions and requirements stated in the pop-up window screen:Ā
Access your Facebook page in a new window: https://www.facebook.com/pages/.Ā
Access the page you created to connect with Instagram.
In the left side menu bar, select the āSettingsā option.Ā
Next, access the āAdvanced Messagingā option in the left side menu bar and click on the āConfigureā button next the āInstagram Receiverā option.Ā
Inside the āApp Configurationā window, select āGupshup Botā as the Main Receiver of the Handover Protocol.
When finished, the app will appear in the āConnected appsā list inside the āAdvanced Settingsā section.
The following will appear on the Gupshup page:
Access your Instagram account from a mobile device and click on the icon. Next, go to Settings ā Privacy.
When in Privacy ā Messages, allow the system access to all Instagram Direct Messages.Ā
Create uContact Provider
Log into uContact with a user that has permission to create SMS providers.
Once logged in, we go to Providers ā SMS.
We select GupshupInstagram from the providers' list, and we fill in the fields:
Name
To identify the provider.Username
The name of the previously created Bot will be entered.Password
Gupshup API Key.
Ā
Ā