BWS API Docs
Contact UsCreate AccountSign In
  • Welcome!
    • Developer Grants
  • Quick Start
  • Platform Fees
    • Fees Calculator
  • API How Tos
    • API Endpoint
    • Authentication
      • Get your API Key
    • Main API Methods
      • 'call' API Method
      • 'fetch' API Method
    • API Responses
      • Error Status Codes
  • Certificate Of Trust
  • Media Assets
    • BWS Logo
    • Snapshots
      • BWS.IPFS.Upload
  • PLATFORM APIs
    • BWS.IPFS.Upload
      • Solution Overview
      • Operations
    • BWS.Blockchain.Save
      • Solution Overview
      • Operations
    • BWS.Blockchain.Hash
      • Solution Overview
      • Operations
    • BWS.NFT.zK
      • Solution Overview
        • NFT Ownership
        • NFT Data Location
        • Available Networks
      • Operations
        • Create NFT
        • List NFTs
        • Transfer NFT
        • Send NFT by Email
      • NFT Attributes (traits)
  • Marketplace Solutions
    • BWS.Blockchain.Badges
      • Badges User Interface
      • Badges API
        • Issuers
        • Badges
        • Awards (Credentials)
    • BWS.NFT.GameCube
      • NFT Game Overview
      • NFT Game Cube API
        • Calendar
        • Field
        • Cubes
        • Plays (Field-Calendar)
        • Match
        • Prizes
        • Event Types
        • Live Events
    • BWS.ESG.Credits
      • Solution Overview
      • ESG Credits API
        • Taxonomy
        • Translations
        • Currencies
        • Frameworks
        • Projects
        • Issuers
        • Assets
        • Investors
        • Positions
        • Portfolios
        • Impacts
        • Blockchain
        • Users
  • TELEGRAM BOTS
    • X BOT
      • Install
        • How does it work?
      • Commands
        • Monitoring Setup
Powered by GitBook
On this page
  • /set_x_filtering <NAME> <OPTIONS>
  • Filters Examples
  • /get_x_filtering
  • /delete_x_filtering

Was this helpful?

  1. TELEGRAM BOTS
  2. X BOT
  3. Commands

Monitoring Setup

Set the proper X filters to monitor specific activity.

/set_x_filtering <NAME> <OPTIONS>

admin (only admins can run this command)

Sets ONE OR MORE search queries to fetch X posts to monitor X activity, where:

  • <NAME> is the name you want to use for a set of query options, for example, "mytop_kols", and

  • <OPTIONS> are a set of search options as defined by:

    • from: <list of X usernames separated by comma>

    • keywords: <list of keywords separated by comma>

    • mention: <single mention X account>

    • exclude: <list of exclusion>, where you can use:

      • retweet

        • quote

        • reply

    • ignore: <list of X usernames separated by comma>

When using multiple filters, all the data is fetched from X and consolidated into a single report.

Filters Examples

Here are some examples of X Bot usages you can use for inspiration.

EXAMPLE 1. Track @IncomeSharks posts about BWS

The following example searches for @IncomeSharks posts, including the BWS keyword and mentioning account @BWSCommunity:

/set_x_filtering Query_1 from: @IncomeSharks keywords: BWS mention: @BWSCommunity exclude: retweet

EXAMPLE 2. Track your KOLs X performance.

Imagine you want to monitor your KOLs - let's use @Charlynovic, @realaecrypto, and @CryptoCaesarTA as an example. To monitor their tweets supporting your project and their performance, you can use the following command:

/set_x_filtering my_kols from: @Charlynovic, @realaecrypto, @CryptoCaesarTA  keywords: BWS

This will monitor your KOL's tweets, including your project's keywords (in our case, "BWS").

EXAMPLE 3. Gamify your community support.

You can also use X Bot to gamify your community support by monitoring any user mentioning your X account:

/set_x_filtering everything mention: @BWSCommunity exclude: retweet, reply

Using the previous filtering, you will track anyone mentioning your X account (in our case, "@BWSCommunity"), so you can use it to award top users daily or weekly.

/get_x_filtering

admin

Gets the list of filters the bot is using to monitor X activity.

/get_x_filtering

This will return the list of search queries used to generate the report.

/delete_x_filtering

admin

Use this command to delete your previously defined filters.

/delete_x_filtering <NAME> to delete a specific filter.

/delete_x_filtering * to delete all your filters.

PreviousCommands

Last updated 3 days ago

Was this helpful?