Msg91 Help Doc
HELLO Contact Center
How To Integrate Twitter Inbox

How To Integrate Twitter Inbox


Twitter Integration Flow - 


You will need to create a Twitter app to integrate Twitter under MSG91. This can be done on the Twitter app.


Step 1: Go to the official website of Twitter and create a new account. 

For Twitter’s official website click on: https://twitter.com/i/flow/login     


Step 2: After signing up on Twitter the next step will be the birth date. 
Select your birth date and click on the next button. 


Kb170478640517749817



Step 3: After selecting the birth date, the next step will be the customization of the experience. You can track where you want to see Twitter's content across the web. 
Click on the next button once it’s done.


Kb170478697016139917


Step 4: After selecting the place for your experience on your Twitter, the next step will be the username for the account. Twitter will also provide you with some suggestions for the name, otherwise, you can also create one. 


 


Kb170487805124110217

Step 5: Click on allow notifications if you want to receive all the notifications on Twitter otherwise you can also skip it

Kb170478719889637917

Step 6: Click on the language you want to use on the Twitter platform. 

Kb170487805124110217


Step 7: Here you will be provided with the list of interests that you want to go through the platform. Click on the interest as per your preferences. 



Kb170495457792535217


 Step 8: After completing all the steps, your Twitter account is ready. s


Kb170495466578256417


Step 9: Click on more options from the side panel.


Kb170495588643947217



Step 10: In the more option click on the settings and support option. 



Kb170495600519016217

Step 11: In the settings and support option click on security and privacy. 



Kb170495610913106117


Step 12: Click on privacy and safety. 


 

Kb170495622347747217



Step 13: Click on direct messages. 

Kb170495630404715617


Step 14: In the direct messages option click on every one. 


Kb170495644539992170

Step 15: On MSG91 Panel, go to Hello and click on all inboxes, after that select Twitter and click on Create Inbox. 


Kb170495653327131170


Step 16: The panel will showcase the name of your Twitter account in the top right corner, if that is the account, click on the authorize app. 

Kb170495662803128417




Step 17: The inbox will be created for your Twitter Account. 

Kb170495679427682817


 Twitter Outbound Flow - 

  1. First of all, the client needs to complete the Twitter sign-in flow before proceeding to Outbound Messaging.

  2. After Successfully logging in to a client we will get the user ID, access token, and token secret of that client, using these credentials we will proceed towards sending outbound.

  3. The client needs to choose the user by providing the list of usernames and then send the message to the selected user.

  4. There is a limit for sending outbound i.e. 5 requests/15 mins( per user).

  5. Users and clients  will have to enable direct messages from everyone under twitter account privacy settings .If the user has not enabled this setting then we can't send messages to them.

    Twitter Inbound Flow  - 

    1. For Inbounds or getting the message from a user, there is no Webhook functionality by twitter. So, we need to fetch the messages of a particular user by using the get API of twitter.

    2. There is a limit for getting inbounds also i.e. 3 requests/15 mins( per user).

    3. There is a DM events API for getting all messages of the user and whose limit is 5 requests/15 mins (per user).

Prev