Hi I’m doing a bot who posts message from students as a campaign for ask to transparency to our university. I did the bot with nodejs

Bot.get('search/tweets', { q: '@orgullopucp -filter:retweets', since_id: last_mention_id }, function(err, data, response) {
        if (err){
          console.log('Error!', err);
          return false;
        }
        /* Next, let's search for Tweets that mention our bot, starting after the last mention we responded to. */
        if (data.statuses.length) {
          console.log(data.statuses);
          data.statuses.forEach(function(status) {
            console.log(status.id_str);
            console.log(status.text);
            console.log(status.user.screen_name);
  
            /* Now we can respond to each tweet. */
            Bot.post('statuses/update', {
              possibly_sensitive:false,
              status: '@' + status.user.screen_name + ' ' + random_from_array(sentences),
              in_reply_to_status_id: status.id_str
            }, function(err, data, response) {
              if (err){
                  /* TODO: Proper error handling? */
                console.log('Error!', err);
              }
              else{
                fs.writeFile(__dirname + '/last_mention_id.txt', status.id_str, function (err) {
                  /* TODO: Error handling? */
                  if(err){
                    console.log('Error!', err);
                  }
                });
              }
            });
          });
        } else {
          /* No new mentions since the last time we checked. */
          console.log('No new mentions...');      
        }
      });    
    });
    response.sendStatus(200);

My problem is that the bot replies with a phrase (it’s not a link or a media, just text without vulgarity words) but Twitter marked with “Show additional replies, including those that may contain offensive content” I marked the button on privacy setting for “Display media that may contain sensitive content” but isn’t worked. Anybody knows what’s wrong?? I appreciate your help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.