Webex App Twitter bot
By connecting your Twitter account to the Webex App space, you can now connect your Twitter account to the Webex App space. Receive custom notifications from your spaces and keep track of your followers by receiving notifications like @mentions, direct messages, hashtags and more. See who’s talking about your company and keep in touch with them.
Here are examples of bots developed by Cisco that are in use in the real world.
Bots in Webex App
It is possible to use bots to extend the functionality of the Webex App so that it can integrate with a third-party application. Webex App spaces can now be enhanced with bots that can be added to them and can be accessed directly from within the app space. Adding a bot to the space is as simple as sending it a help message, and you’ll receive a response with the commands the bot offers as a response to your help message.
Adding a bot to any type of space is possible; you can even add a bot to a project space where other people can interact with it directly from your space in order to interact with the third-party app. It is also possible to create a space near the third-party app where you will be able to interact with the bot alone.
Currently, Cisco and third-party developers participate in the development of a variety of apps and bots for Webex, which can be found in the App Hub.
Cards in Webex App
In the Webex App, bots are able to present information in a variety of ways. In order to interact directly with the bot’s response to a command, users can use cards to interact directly with the bot as the bot’s response to a command. In order to update and gather information, you are able to select from drop-down menus, click on buttons, and you can even type into text fields.
If you are interested in learning more about the cards framework, please visit the following link: https://developer.webex.com/blog/new-buttons-cards.
Please let us know if you experience any issues with the bot with cards by emailing devsupport@webex.com.
Add the Twitter bot
A space should be added to the Twitter bot.
- The Twitter bot can be added to a space in Messaging by selecting a space in the menu.
As an alternative, you can also use just the Twitter bot to create a new space.
- You will need to click Add People, then tweet.bot@webex.bot should be entered as your Twitter bot name.
- In order to link your Twitter account to the bot, you need to add your Twitter account to it.
- To link your Twitter account, click the Link Twitter Account button.
Your connection is successful and you receive a notification.
Twitter bot commands
By using the Twitter bot, you will be able to manage your Twitter notifications from anywhere by clicking a single button while the Twitter bot will manage all your Twitter notifications automatically.
There is a space in front of the bot where you can enter the help phrase and then send the message. In case there is more than one bot in the same space, you can use the @mention function, enter help, and then send the message.
Manage Twitter bot notifications
- Send a message to the bot in the space in which the bot is located by entering the word manage. Whenever you’re in a space where there are more than just bots, @mention the bot, enter the manage command, and then send a reply.
- In the space provided, select the notifications you wish to receive:
-
@mentions—Your selected account will be notified whenever a tweet mentions it.
-
All new tweets—A notification will be sent to you when a new tweet is posted by an account you follow.
-
Direct Messages—You will be notified whenever you receive a direct message.
-
Replies to your tweet—Whenever a reply is received to a tweet that you have sent, you will be notified.
-
Tweets from a specific account—If you enter an account, you will be notified when they tweet.
-
Tweets with a specific hashtag—To receive a notification when new tweets are posted that contain a particular hashtag, enter the hashtag in the box below.
- Save the file by clicking the Save button.