Detection of Spam Tweets by Using Machine Learning Methods

Authors

  • Shakeeb Ahmed Khan Author
  • Shoaib Ali Qureshi Author
  • Qandeel Asghar Author
  • Rana Muhammad Nadeem Author
  • Talha Farooq Khan Author

DOI:

https://doi.org/10.63075/8mjhvn05

Abstract

Nowadays, we live in a digital world where we can connect and communicate with anybody all over the world with the help of social networking sites like Twitter and Facebook. Among many other social networking sites, Twitter is a rapidly growing platform. Due to its popularity, it has to face many spammers, which spread forged, bogus, and misleading information. Due to this spamming, it is difficult for researchers to get un-spammed and authentic information from Twitter. In this paper, we introduce an autonomous model that classifies between spammer and legitimate account tweets using machine learning algorithms. We are using API provided by Twitter for the dataset and apply four machine learning classifiers: Decision tree, Support Vector Machine, Naïve Bayes, and Logistic Regression. These machine learning classifiers evaluate on the basis of accuracy, precision, recall and F1-score. The result shows that Naïve Bayes classifier achieve the best result with 96.83 percent accuracy among four classifiers.

Keywords: Spam, Twitter, Machine Learning, Classifiers, Social Networking Site

Downloads

Download data is not yet available.

Downloads

Published

2025-08-05

Issue

Section

Computer Science

How to Cite

Detection of Spam Tweets by Using Machine Learning Methods. (2025). Annual Methodological Archive Research Review, 3(8), 60-80. https://doi.org/10.63075/8mjhvn05

Most read articles by the same author(s)