How to control toxicity in Twitter Conversation with Twitter’s Hide Replies API with a no-code tool.

We've been experimenting with Twitter's Hide Replies API calls and see what we can come up with that can be useful if you have a reasonably active Twitter conversation. 

Twitter designed the feature so that every user can feel safe and comfortable having conversations on Twitter by putting the original poster in control of which replies to their tweets remain visible. 

Twitter doesn't delete the reply; instead, it hides it from the timeline, and you have to click another button to show the replies.  This helps to control any trolling, irrelevant, insulting, slurs, or offensive content to dominate the conversation. This might not be a problem for most Twitter users, but if you do have a lot of replies to your tweets, manually hiding comments one by one will be a pain.

Twitter launched the Hide Replies API recently so that developers could build some tools to automate this process. This is where we come in. Using Pandaflow, you can manage conversations without the need to write any code, so you can focus on building useful ways to hide replies.

In this post, I will guide you on how to set this up. In this example, we will hide a reply automatically, but you could also do more Twitter automation using Pandaflow. 

1. Connect to Twitter using our Built-in Connector

Connect to Twitter by going to the Connection tab.

2. Read all the tweets in Replies

Get all the replies for a tweet for your account

3. Run it through a Content Moderation AI Step

Loop through the tweet replies and add a content moderation for all the replies. Then you can add a decision tree. If the replies contain any profanity or any offensive content you can automatically hide replies.

4. If the content has profanity or offensive language, call the hide replies endpoint

Based on the content you can call the API every 4 or 10 mins or as they come in.

Here is a quick Video of how you can do it: