programmer-fa icon indicating copy to clipboard operation
programmer-fa copied to clipboard

Links that include `.html`, `.php`, etc. are counted as the actual text

Open amirhoseinsalimi opened this issue 3 years ago • 0 comments

If a tweet includes a link like http://example.com/page.php, then the bot retweets it, despite it may not contain any words related to programming. Although these words and alike are included in words-not-to-follow.json and we have a function that removes these words from tweets, the problem still persists. It may be solved while migrating to Twitter API v2.

amirhoseinsalimi avatar Feb 26 '21 13:02 amirhoseinsalimi