Twitter opens a range of DM API to over a chatbot experience, ahead of Facebook's F8

Twitter, today, announced the launch of a range of API endpoints to offer users and brands a new chatbot experience over DM. While Twitter has always been a social sharing and networking place, this new announcement is all set to take Twitter to the next level.

Facebook, Slack, Telegram and the likes have seen a huge improvement in automation standards and chatbot experiences all these days, and Twitter was always left out on this growth. But, this new announcement is supposedly the future of Twitter’s growth and should offer brands an improved user experience setups.

Starting today, all users and brands can apply for this new API integration for their Twitter accounts to offer a contextually rich user experience over DM. To start with how this new set of API can power brands to improve their social UX, Twitter has a partner brand @united already setup.

[caption id=“attachment_1141” align=“aligncenter” width=“720”] Image credits: Twitter blog[/caption]

You can launch the DM screen of @united’s Twitter account and it will automatically throw a welcome message at the top followed by a range of action buttons at the bottom of the screen. These action buttons are likely to act as inputs from the user to allow faster and improved chat experience.

Commenting on this new feature, KC Geen of United said,

We are constantly working to create industry-leading experiences for our customers. Twitter is a place where our customers engage with us 24/7 about a variety of aspects of travel. The new features that Twitter released have enabled us to create real-time engagements with customers to offer an array of services, from discovering where to go on their next trip, to answering common travel questions faster and easier. We’re excited to use these features to deliver additional experiences that connect people and unite the world through travel.

The following API features have been launched with this recent announcement.

Welcome message

Brands can now set a welcome message to their DM page. This acts totally similar to the welcome message set by chatbots on Facebook Messenger. Take a look at the popular Hi Poncho chatbot on Facebook to see how the chatbot displays a welcome message. You can alternatively see @united again on Twitter to see their welcome message. The welcome message is displayed only once, on the user’s first launch of that DM screen.

DM POST and GET endpoints

These new DM endpoints are the backbones of the DM chatbot experience. This enables the sending and reception of messages to and from users and can be used for integrating custom setups and data handling. The responses are output in JSON format.

Account activity API

The account activity API enables users to customize and parse the account user information in real-time to customize the messages over DM. This can help provide rich responses to users’ messages by personalizing the content.

Custom profiles for support accounts

Custom profiles is a new addition that has been live for developers for quite some time now. Custom profiles help the brands to override the default account profile photo and name to display the agent’s profile photo and name. This is possibly oriented at personalizing and providing a clear information on who is replying to the user’s messages.

Customer feedback cards

Customer feedback cards are used to collect user information over DM. This is particularly helpful for collecting information about the user over DM after the completion of a support ticket or survey.

_On that note, remember that Facebook already has a huge lot of API customization setup for chatbots on Messenger. And, at the April 18, 19 F8 conference, the social giant is supposedly launching new features for chatbot on group chats. _

In addition to these, Facebook launched M, the company’s AI powered chatbot assistant. More on that later.

If you are a solo developer or a brand that wants to get this setup, you can learn more about all these new features on their developer account page. Also, read here on how this is going to be the future of Twitter’s growth and what Twitter has in their roadmap.