Skip to main content
All CollectionsLive StreamingLive Events
Steps for Deleting Live Chat Comments via Firebase
Steps for Deleting Live Chat Comments via Firebase
Anjana avatar
Written by Anjana
Updated over a week ago

Managing live chat interactions is crucial for maintaining a positive and engaging experience on your platform.

At times, you may need to remove specific user comments, all comments from a particular user, or even all chat activity for a specific video.

This guide outlines the step-by-step process of deleting live chat comments using Firebase. Whether you need to remove a single message or bulk delete all chats for a video, this article will help you navigate Firebase's Firestore Database to efficiently manage live chat content.

  • Login to the Firebase console and log in using your credentials.

  • Choose the Firebase project from the dashboard.
    ​

  • Go to the Firestore Database under Project Shortcuts.
    ​

  • In Firestore, you will see a list of videos where live chat is enabled.

  • You have two options:

    1. Delete Single Video Chat

    2. Delete Collection of Video Chats for a Video

  • To Delete a Collection of Video Chats for a Single Video

    • Locate the collection for the specific video and delete all chats associated with I

  • To Delete a Single Chat for a Particular Video

    • Identify and delete individual live chats related to the video.

How to Filter Chats by User ID

  • Click on the filter option.

  • Choose user-id in the filter field.

  • Set the condition to Equal to (==) and choose the type as String
    ​

  • Enter the user ID and click Apply

  • All chats by the user will be displayed.

  • Once filtered, you can either delete all chats from that user or specific chats.

Did this answer your question?