Artificial intelligence, social media algorithms, and the amplification of xenophobic narratives in Africa
Robert Akinade Awoyemi, Titilayo Oluwapelumi Akinwamide and Richard Oluwadolapo Awoyemi Keywords: Artificial intelligence, social media algorithms, xenophobia, hate speech, misinformation, Africa
Library and Information Perspectives and Research 2026 8(3), 55-67. Published: November 3, 2026
Abstract
Artificial intelligence (AI) is developing in many areas of civilization at a tremendous pace. Artificial intelligence is an area of computer science that aims at building machines that can learn, reason, solve problems and make decisions, things which were done by people before. This paper will focus on exploring the roles of artificial intelligence and social media algorithms in spreading xenophobia in Africa and other places. Algorithms in social media are utilized to provide content to individual users based on their preferences and behavior. Although algorithms help in improving the user experience by providing personalized content to them, they can also lead to creation of echo chambers for individual users by restricting their exposure to a few ideas and opinions only. The review will also cover the role of AI technologies in spreading fake news and hate speech against immigrants. It brings together the empirical and theoretical literature related to the topics of artificial intelligence, recommendation systems, algorithmic amplification, online hate speech and xenophobia within an African context. It is found out that AI-driven recommendation systems are biased towards exposing misleading and provocative content, thus giving rise to their increased visibility and dissemination along with reinforcing echo chambers. In addition, there is a need for AI governance, media and information literacy, and transparency and accountability of algorithms in order to counteract digital xenophobia.it is also a contribution to the increasing body of literature on ethical artificial intelligence with evidence-based recommendations to Africa's governments and regional organisations to improve the quality of digital environments to be inclusive, transparent, accountable, and responsible.