Download as pdf or txt
Download as pdf or txt
You are on page 1of 45

DESIGN AND IMPLEMENTATION OF COGNOCONNECT

AN IMAGE SHARING SOCIAL MEDIA APPLICATION

JIMOH IBRAHIM OYINDAMOLA


201103105

Supervisor: Dr RIDWAN KOLAPO OLAYINKA

Faculty of Computing, Department of Software Engineering


Nile University of Nigeria

January , 2024
DEDICATION

This project is dedicated to the incredible support and boundless encouragement from my family
and friends. Their unwavering belief, patience, and understanding have been the driving force
behind this endeavor. To my parents, whose love and guidance have been my rock, and to my
siblings and friends, whose constant encouragement has fueled my aspirations – this project is a
reflection of our collective effort. As I venture into the realms of technology and innovation, I am
immensely thankful for the solid foundation they've provided and the countless moments of
inspiration that have shaped this journey. This project not only symbolizes my dedication but
also serves as a heartfelt tribute to the fantastic relationships that have lit up my path.
ACKNOWLEDGEMENTS

I express my heartfelt gratitude to all those who have been instrumental in the realization of this
project. My deepest appreciation goes to my academic mentors for their guidance, wisdom, and
unwavering support throughout this journey. Special thanks to my family and friends for their
understanding, encouragement, and constant motivation. Their belief in my abilities has been a
driving force, and I am truly fortunate to have such a supportive network. I am indebted to the
open-source community for providing invaluable resources and tools that enriched the
development process. Additionally, I extend my thanks to my peers and colleagues for their
collaborative spirit and insightful discussions. This project is a testament to the collective effort
of an inspiring community, and I am grateful for the contributions, both big and small, that have
shaped this endeavor.
TABLE OF CONTENTS

Certification .................................................................................................................i
Dedication....................................................................................................................ii
Acknowledgements.....................................................................................................iii
Table of Contents .......................................................................................................iv
Abstract........................................................................................................................v
List of Tables...............................................................................................................vi
List of Figures.............................................................................................................vii
Chapter 1.......................................................................................................................8
1.1 Introduction...............................................................................................................8
1.2 Problem statement.....................................................................................................9
1.3 Aims and Objectives................................................................................................11
1.4 Significance of Study...............................................................................................11
Chapter 2......................................................................................................................13
2.1 General Information.................................................................................................13
2.3 Related Works..........................................................................................................14
2.4 Summary of Literature.............................................................................................21
Chapter 3......................................................................................................................28
3.1 System Analysis and Limitations............................................................................28
3.1.1 Analysis of the Existing System...........................................................................29
3.1.2 Justification for the new System...........................................................................30
3.1.4 Description of the new System.............................................................................31
3.2 Design of proposed System.....................................................................................32
3.2.1 Data Model...........................................................................................................32
3.2.2 Usecase Diagram..................................................................................................36
3.2.3 Class Diagram......................................................................................................39
3.2.4 Deployment diagram............................................................................................43
3.2.5 Methodology........................................................................................................43
3.3 Conclusion...............................................................................................................44
4. References.................................................................................................................45
ABSTRACT

"CognoConnect" revolutionizes the social media landscape by seamlessly integrating Artificial


Intelligence (AI) into a user-centric platform. Combining ReactJS, Tailwind CSS, Appwrite,
React Query, and the OpenAI API, this innovative web application transcends conventional
social networking paradigms. Users can effortlessly generate AI-enhanced images by typing
prompts, providing a unique and accessible approach to AI literacy.

Addressing the limitations of existing platforms, such as Instagram, CognoConnect eliminates


the need to switch between applications for AI features, ensuring a fluid user experience. The
system empowers users with unprecedented control over AI-generated content, fostering
creativity and transparency. Furthermore, it facilitates a new era of social media engagement by
promoting AI literacy and awareness, making cutting-edge technology accessible to users
without extensive technical backgrounds.

This project is not merely about enhancing social media; it represents a strategic leap for
software engineers. By delving into the symbiosis between React development and AI, it equips
professionals with the tools to navigate evolving technological currents, ensuring continued
industry relevance and growth. CognoConnect is poised to redefine social media, offering a
glimpse into the future of intelligent, user-driven online experiences.

Keywords: CognoConnect, social media, Artificial Intelligence, React JS, Tailwind CSS,
Appwrite, React Query, OpenAI API, AI-Enhanced Images, User Centric Platform, Fluid User
Experience, AI Literacy, React Development.
LIST OF TABLES

Table 1: Literature Summary Table.................................................................................22


LIST OF FIGURES

Figure 1: ER Data Model........................................................................................................32


Figure 2: Use case Diagram....................................................................................................37
Figure 3: Class Diagram..........................................................................................................38
Figure 4: Deployment Diagram...............................................................................................39
CHAPTER 1
INTRODUCTION

1.1 Background
In the dynamic landscape of contemporary social interactions, the fusion of cutting-edge
technology and user engagement has become paramount. As we navigate the ever-evolving
realm of digital connectivity, this project embarks on a journey to redefine the social media
experience by seamlessly integrating artificial intelligence. Our endeavor goes beyond
conventional platforms, aiming to cultivate a space where innovation meets interaction, and
intelligence enhances connection. In this proposal, we present a visionary exploration into the
design and implementation of a revolutionary social media web application, transcending the
ordinary to usher in a new era of intelligent connectivity.

This project aims to redefine the landscape of social networking by introducing a unique
paradigm—augmenting the platform with advanced Artificial Intelligence (AI) functionalities. In
the current technological milieu, AI stands as the predominant force, permeating diverse
industries. Deliberately using the term 'industry' in a broad sense, it underscores the ubiquitous
influence of AI across sectors. As an aspiring software engineer, my goal is to harness the power
of AI within the realm of social networking.
This initiative leverages the capabilities of OpenAI, a leading open-source AI platform, to
revolutionize the functionality of social networking applications. The integrated AI component
introduces a distinctive functionality designed to enhance user productivity. Unlike traditional
image-based content sharing, the refined AI feature in CognoConnect allows users to generate AI
images by typing prompts and seamlessly retrieving visual content. Users can then utilize these
AI-generated images to compose and send messages to their recipients.

This project seamlessly integrates conventional features found in standard social networking
applications with innovative functionality, as outlined earlier. This distinctive feature extends the
boundaries of traditional social networking applications. CognoConnect not only facilitates user
connections but also empowers them to explore and generate content in more detail using the
unique capability of generating AI images. The incorporation of this feature represents a
paradigm shift in the capabilities of social networking applications, enhancing user experience
and productivity in a novel and dynamic manner.

Before delving further into the proposal, it's essential to elucidate certain terms that may appear
unfamiliar to readers less acquainted with the realm of software engineering:
• AI: Stands for Artificial Intelligence, representing advanced computational systems that
emulate human cognitive functions.
• OpenAI: While it may be misconstrued as an acronym, OpenAI is the name of a
prominent company at the forefront of AI research and development.

1.2 Problem Statement

In navigating the dynamic landscape of contemporary social media applications, it becomes


imperative to discern and address existing limitations that impede optimal user experiences. This
section delves into a comprehensive analysis of the prevalent challenges within the current social
networking paradigm, aiming to elucidate the necessity and urgency for the proposed project. By
identifying and understanding these constraints, we position ourselves to engineer a solution that
transcends conventional boundaries, offering users an enhanced and more sophisticated social
networking experience.
In the ever-evolving tapestry of digital connectivity, the realm of social media applications has
become a focal point of modern interaction. Yet, as users navigate these platforms, a discernible
gap emerges — a gap born of the limitations inherent in existing systems. While contemporary
social media applications have undoubtedly revolutionized the way we connect and share
information, they often grapple with constraints that hinder the realization of an optimal user
experience.
Existing platforms, though proficient in fostering connections, frequently fall short in
empowering users to efficiently navigate the vast expanse of information available. The lack of
intelligent mechanisms for content curation and personalized interaction poses a considerable
hurdle. Users find themselves inundated with an abundance of content, often struggling to distill
relevant information from the noise. This limitation, coupled with a relatively static user
experience, underscores the need for a paradigm shift in the design and functionality of social
media applications.
Addressing this pivotal research gap, our project seeks to introduce a transformative layer of
functionality to social networking. This unique addition harnesses the power of Artificial
Intelligence (AI), allowing users to type prompts and seamlessly generate quality AI generated
images based on the prompts imputed. The envisioned AI component is poised not merely to
connect users but to empower them with an intelligent assistant capable of streamlining
information, ensuring a more targeted and efficient engagement with the vast array of content.
By leveraging the innovative capabilities of OpenAI, our project aspires to bridge the existing
gap, fostering a social networking environment that is not only interconnected but also
intelligently responsive to the individual needs and preferences of its users.
This exploration into the limitations of current social media applications lays the foundation for
our ambitious undertaking. By identifying and addressing these shortcomings, we aim to redefine
the landscape, setting the stage for an enhanced, intelligent, and user-centric social networking
experience.
1.3 Aims and Objectives

Aim:
To revolutionize the user experience of social media applications by introducing an intelligent,
AI-driven assistant that facilitates seamless information retrieval through user-typed prompts and
fosters personalized connections.
Objectives:
1. Develop an intuitive user interface that seamlessly integrates the AI-driven image
generator, allowing users to type prompts and retrieve high quality images effortlessly.
The interface should provide a visually appealing and user-friendly platform for content
engagement.
2. Implement the OpenAI-powered functionality to intelligently process user-typed
prompts, curate relevant information, and generate images to users dynamically. This
approach significantly improves users' ability to access personalized and contextually
relevant information efficiently.
3. Enhance generic social media functions, such as allowing users to send, receive, and post
content, by optimizing the connection between the front-end and back-end systems.
Ensure a smooth and responsive user experience, especially in the context of interacting
with the AI-driven image generator through typed prompts.

1.4 Significance of the study

In the realm of software engineering, the fusion of React development and Artificial Intelligence
(AI) represents not only a study but a strategic leap toward professional growth and industry
relevance. As a software engineering enthusiast, the decision to embark on this exploration stems
from a keen awareness of the prevailing trends shaping our field.
In the current landscape, AI has emerged as the linchpin of innovation, permeating diverse
industries. For a software engineer specializing in React development, the integration of AI is not
merely an option; it is a pivotal avenue for ensuring continued professional advancement. The
significance of this study lies in its capacity to equip software engineers with the tools and
knowledge to navigate the evolving technological currents successfully.
By delving into the symbiosis between React development and AI, this study goes beyond the
immediate project scope. It is a strategic investment in the skill set and knowledge base of a
software engineer, ensuring a comprehensive understanding of the cutting-edge technologies
defining our field. In a profession where adaptability and foresight are paramount, this study
serves as a proactive step toward staying ahead of the curve.
The impact of this endeavor extends to the broader landscape of software engineering,
contributing not only to individual career trajectories but also fostering a culture of innovation
within the field. As software engineers, our commitment to continuous learning and the adoption
of transformative technologies positions us as trailblazers, ready to shape the future of software
development. In essence, this study is not just about the enhancement of social media
applications; it is about elevating the role of software engineers in pioneering technological
advancements within the broader spectrum of our field.
CHAPTER TWO
LITERATURE REVIEW

2.1 General Information

CognoConnect: Integrating Artificial Intelligence into Social Networking

CognoConnect represents a groundbreaking initiative at the intersection of technology and social


interaction. In response to the dynamic landscape of contemporary social networking, this project
endeavors to seamlessly integrate Artificial Intelligence (AI) into the fabric of our social
connections. The focal point is not just the creation of another social media platform but the
infusion of intelligence and efficiency into the very essence of online interactions.
The motivation behind CognoConnect lies in recognizing the transformative power of AI across
various industries. As industries worldwide harness the capabilities of AI, the social networking
sphere remains ripe for innovation. This project acknowledges the pivotal role of AI in
revolutionizing user experiences and aims to bring this paradigm shift to the forefront of social
networking.
In essence, CognoConnect seeks to redefine the way users engage with social media. By
introducing an AI-driven assistant, the platform aims to provide users with not just a means of
connection but a tool that intelligently understands and enhances their interaction. From
generating AI-enhanced content to personalized information retrieval, CognoConnect aspires to
set a new standard for the synergy between Artificial Intelligence and social networking.
The journey of CognoConnect is not solely about technological advancement; it's about creating
a more intuitive, intelligent, and user-centric social networking experience. This section lays the
foundation for understanding the ambitious goals and transformative potential of integrating AI
into the very core of social interactions through the innovative lens of CognoConnect.
2.3 Related Works

-Social Media Models, Technologies, and Applications: An Academic Review and Case
Study (2015)

Authors: Sharina Mohd Salleh and Nik Amalena.


Publication: This work was published in 2015 and serves as a critical review of existing
research on social media.

Key Points:
Objective: The study aims to develop a conceptual framework explaining how social media
applications utilize various tools, technologies, and are grounded in relevant personal and social
behavior theories.
Methodology: The authors employ a two-stage approach. The first stage involves a
comprehensive literature review analyzing academic journals within the field of social media
research. This analysis informs the development of a conceptual framework highlighting the
interplay between tools/technologies and underpinning theories/models in social media
applications. The second stage utilizes a real-life case study to demonstrate the practical
application of the proposed framework, specifically in developing a social media application for
a regional division of an international non-governmental organization.
Findings: The research reveals the diverse applications of social media across various business
areas, facilitated by a spectrum of tools and technologies and supported by a range of personal
and social behavior theories.
Contributions: This study offers a valuable conceptual framework for understanding and
designing social media applications, considering both the technical and theoretical
underpinnings. Additionally, the case study provides a practical illustration of the framework's
effectiveness.
Limitations and Implications: As the field of social media encompasses a broad range of
research topics, the authors acknowledge that their literature review might not be exhaustive.
They suggest future research avenues focusing on specific areas within social media, such as
privacy concerns, ethical considerations, and emerging technologies.

-Artificial Intelligence Applications in social media for Depression Screening: A Systematic


Review Protocol for Content Validity Processes (2022)

Authors: Muhammad Imran Ashraf, Irfanullah Khan, and Umar Farooq


Publication: This study published in 2022 proposes a protocol for a systematic review
examining the content validity of AI-powered depression screening models utilizing social media
data.

Key Points:
Objective: The research aims to assess the effectiveness and accuracy of AI algorithms
implemented in social media platforms for depression screening, comparing their output against
standard diagnostic frameworks.
Methodology: The proposed protocol outlines a comprehensive search strategy encompassing
databases like PubMed, PsyaichInfo, ScienceDirect, Web of Science, and Google Scholar. The
inclusion criteria encompass studies published between 2010 and 2020 employing various
research designs like case-control, cohort, and cross-sectional analyses. Articles reporting on
conferences, editorials, and blogs will be excluded.
Main Outcome: The primary outcome focuses on the accuracy of self-reported depression
identified through social media expressions analyzed by AI algorithms.
Secondary Outcomes: These include exploring the specific types of AI methods used for
depression screening and the clinical validation procedures employed alongside algorithm
development.
Expected Contributions: This review seeks to establish a normative framework for evaluating
the strengths and limitations of AI-based depression screening in social media contexts.
Limitations and Implications: The authors acknowledge potential limitations, including
publication bias and the evolving nature of both AI and social media landscapes. They suggest
future research avenues addressing specific AI techniques, platform variations, and ethical
considerations surrounding data privacy and user anonymity.

-The Role of Artificial Intelligence in Social Media Big Data Analytics for Disaster
Management -Initial Results of a Systematic Literature Review (2018)

Authors: Vimala Nunavath and Morten Goodwin


Publication: This 2018 study presents initial findings from a systematic literature review
exploring the integration of AI and social media big data analytics in disaster management.

Key Points:
Objective: The research aims to identify and analyze existing literature investigating the
utilization of AI and social media big data for various disaster management phases, including
preparedness, response, recovery, and mitigation.
Methodology: The authors conducted a comprehensive search across academic databases like
Scopus, Web of Science, and Google Scholar, focusing on articles published between 2010 and
2017. They applied specific inclusion and exclusion criteria to identify relevant studies.
Findings: The initial results reveal a growing body of research on AI and social media
applications in disaster management. They identified several AI techniques like machine
learning, natural language processing, and sentiment analysis being employed for various
purposes:
Disaster prediction and early warning: Analyzing social media data to detect patterns and
early signs of potential disasters like earthquakes or floods.
Real-time situational awareness: Monitoring social media posts and images to track disaster
unfolding, assess damage, and identify affected areas.
Resource allocation and coordination: Utilizing AI to analyze data and optimize resource
deployment, personnel allocation, and communication channels during disaster response.
Public outreach and communication: Leveraging social media platforms to disseminate vital
information, instructions, and updates to affected communities.
Challenges and limitations: The authors acknowledge challenges like data privacy concerns,
misinformation and fake news propagation on social media, and the need for robust AI models
capable of handling diverse language and cultural contexts.

-The Application of the Principles of Responsible AI on Social Media Marketing for Digital
Health (2021)

Authors: Rui Liu, Suraksha Gupta, and Parth Patel


Publication: Published in 2021 in Information Systems Frontiers.

Key Points:
Objective: This research analyzes the impact of applying responsible AI principles to social
media marketing strategies in the digital health domain.
Methodology: The study employs a qualitative approach through in-depth interviews with 25
healthcare professionals. These interviews explore their perspectives on the ethical
considerations and challenges associated with using AI for social media marketing in digital
health.
Main Findings: The research highlights the importance of applying responsible AI principles
when using social media marketing for digital health. These principles include:
Fairness and non-discrimination: Ensuring that AI algorithms do not unfairly target or exclude
specific demographics or individuals based on sensitive information.
Transparency and explainability: Providing clear explanations about how AI algorithms make
decisions and personalize content for users.
Privacy and security: Protecting user data and ensuring its responsible collection, storage, and
use.
Accountability and safety: Taking ownership of potential biases and unintended consequences
of AI algorithms and implementing safeguards to minimize harm.
Benefits and Opportunities: The study demonstrates that applying responsible AI principles
can bring numerous benefits to social media marketing in digital health, including:
Improved trust and user engagement: Building trust with users by demonstrating transparency
and commitment to ethical practices.
More effective targeting and personalization: Delivering personalized health information and
resources to users based on their actual needs and preferences.
Enhanced public health outcomes: Contributing to improved public health by promoting
accurate and responsible health information through social media platforms.
Challenges and Future Directions: The authors acknowledge challenges in implementing
responsible AI, such as data quality limitations, potential for algorithmic bias, and the need for
robust governance frameworks. They suggest future research avenues focusing on developing
practical guidelines and tools for applying responsible AI principles in social media marketing
for digital health.
Contributions: This study offers valuable insights into the challenges and opportunities of
applying responsible AI in social media marketing within the digital health context. It
encourages healthcare professionals and practitioners to prioritize ethical considerations and
responsible data practices when utilizing AI for social media outreach.

-Employing the Technology Acceptance Model in Social Media: A Systematic Literature


Review (2020)

Authors: Mohammad Nassir Al-Taftaf, Mohammad Adnan Al-Hwaitat, Mohammad Asif, and
Mohammad Khalil
Publication: Published in 2020 in the journal Education and Information Technologies.

Key Points:
Objective: This research review examines how the Technology Acceptance Model (TAM) has
been applied to understand social media adoption and usage among various user groups.
Methodology: The authors conducted a systematic literature review of 57 research articles
published between 2009 and 2018. They focused on studies utilizing TAM as the primary
theoretical framework to analyze social media acceptance and behavior.
Findings: The review revealed several key trends:
Research focus: Most studies examined social media adoption and usage among students in
higher education environments.
TAM extensions: Many studies extended TAM by incorporating additional factors beyond the
original model's variables (perceived ease of use and perceived usefulness). These extensions
included:
Subjective norms: The influence of friends, family, and peers on social media adoption.
Perceived enjoyment: The fun and pleasure derived from using social media.
Perceived critical mass: The belief that a platform is widely used and valuable for social
interaction.
Perceived security and trust: Concerns about data privacy and security influencing social
media adoption.
Contributions: This review provides a valuable resource for understanding how TAM has been
used to explain social media acceptance and highlights potential areas for future research. It also
demonstrates the diversity of user groups and social media platforms studied within the TAM
framework.
Limitations and Implications: As with any literature review, there are limitations in scope and
coverage. This review primarily focused on published articles in academic journals, potentially
excluding other relevant research sources. Additionally, the findings are specific to the studies
chosen and may not apply to all contexts or user groups.
-Artificial Intelligence and social media: A Literature Review and Future Directions (2021)

Publication: Published in 2021.

Key Points:
Methodology: This study employed a comprehensive literature review encompassing academic
papers, industry reports, and news articles published between 2015 and 2021. The review
focused on research and reports investigating the utilization of AI in various social media
applications.
Data Source: Analyzing 100 relevant sources allowed the authors to identify key trends and
challenges associated with AI integration in social media.

Main Findings:
Extensive AI applications: The review revealed a wide range of AI applications within social
media, including:
Content personalization and recommendation: Tailoring content feeds and advertisements
based on user preferences and behavior.
Content creation and moderation: Automatically generating content, including text, images,
and videos, as well as filtering harmful or inappropriate content.
Social analysis and prediction: Utilizing AI to analyze social media data and predict trends,
user behavior, and potential events.
Marketing and advertising: AI-powered audience segmentation, targeted advertising
campaigns, and real-time optimization.
Growing ethical concerns: The review highlighted critical ethical concerns surrounding AI in
social media, including:
Privacy and data security: Potential misuse of user data and lack of transparency in data
collection and processing practices.
Algorithmic bias and discrimination: Concerns about biased AI algorithms perpetuating
societal inequalities and discriminatory practices.
Misinformation and fake news: The spread of misinformation and its potential manipulation of
public opinion through AI-powered manipulation techniques.
Future Directions: The review also emphasizes future research directions to address these
challenges and ensure responsible AI development and implementation in social media contexts.
These directions include:
Developing transparent and accountable AI algorithms: Building trust through clear
explanations of how AI algorithms work and who is responsible for their development and
deployment.
Addressing bias and discrimination: Mitigating algorithmic bias through diverse datasets, fair
model training methodologies, and regular auditing of AI systems for potential harmful bias.
Prioritizing data privacy and security: Implementing robust data privacy regulations and user
empowerment initiatives to protect personal information and foster trust in AI-powered social
media platforms.
Contributions: This review offers a comprehensive overview of current AI applications in
social media and sheds light on the critical ethical considerations and future research avenues for
responsible AI integration in this evolving landscape.
2.4 SUMMARY OF LITERATURE

Title of Paper/ Year Methodology Summary of results Limitations


This study adopted a two-stage presents a conceptual Social media covers a wide
Social media models, approach. The first stage framework for social range of research topics and
technologies, and involves a critical literature media applications using thus, the literature review
applications: An review of academic journals in extant theories and presented in the study may not
academic review and social media research, followed models. The authors be exhaustive. Nevertheless,
case study (2015) by the proposal of a conceptual conducted a literature the proposed framework and
framework that highlights the review of social media case study can both serve as
tools and technologies as well as research and presented a reference for future research
theories and models that serve as real-life case study to and provide recommendations
the foundation of social media extend existing for practitioners in the design
applications. The second stage knowledge on the design and development of their own
involves the use of an actual case and development of social media applications.
to demonstrate how the proposed information systems. The
framework facilitates the paper highlights the tools
development of a social media and technologies as well
application for a regional as theories and models
division of an international non- that serve as the
government organization. foundation of social media
applications. The authors
also discuss the
importance of applying
social media in various
business sectors and
provide recommendations
for practitioners in the
design and development
of their own social media
applications
The study only considers
Artificial intelligence The team plans to conduct a The article outlines a publications from 2010 to
applications in social systematic review encompassing systematic review 2020 in English and German
media for depression English and German language protocol investigating the languages, which may
screening: A systematic publications from 2010 to 2020. utilization of artificial exclude relevant sources from
review protocol for The review will be conducted intelligence (AI) methods other languages or time
content validity across various databases, in screening for periods.
processes (2021) including PubMed, APA depression on social Gray literature sources: The
PsychInfo, Science Direct, media. It covers the study excludes some gray
EMBASE Psych, Google background, methods, and literature sources such as
Scholar, and Web of Science. expected outcomes. The newspaper articles, blog posts,
Inclusion criteria encompass a background highlights and dissertations, which may
range of study types such as social media as a valuable contain valuable insights or
cohort, case-control, cross- data source for perspectives on the topic of
sectional studies, randomized understanding self- social media and depression
controlled studies, and reports on reported depression, with Ethical and privacy concerns:
conference proceedings. AI methods, particularly The study does not address
However, certain gray source machine learning, the ethical and privacy issues
materials, including editorials, commonly applied for involved in using social media
newspaper articles, and blog sentiment and content data for mental health
posts, will be excluded. analysis. The methods research, such as user consent,
The primary focus of the detail the search strategy, data protection, and potential
systematic review is on self- inclusion/exclusion harms to vulnerable
reported depression expressions criteria, and data populations.
on social media. Secondary extraction/synthesis Content validity assessment:
outcomes include an analysis of procedures, encompassing The study uses the COSMIN
the types of AI methods English and German framework to evaluate the
employed for screening social publications from 2010 to content validity of the AI
media depression and the clinical 2020 across various methods, but this framework
validation procedures associated databases. The expected may not capture all the
with these methods. The team outcomes involve aspects of clinical validity,
plans to refine their inclusion and assessing self-reported such as predictive validity,
exclusion criteria using the depression, types of AI reliability, and
Population, Intervention, methods for screening, responsiveness.
Comparison, Outcomes, Study and clinical validation,
type (PICOS) tool in a second including content validity
step. against established
To ensure the reliability of the diagnostic frameworks for
evidence, two authors will depression.
independently assess the sources
for the risk of bias. The
culmination of the systematic
review will involve a thematic
synthesis of the reviewed studies,
providing a comprehensive
overview of the literature on the
subject.

The Role of Artificial Research questions: The authors This paper presents an The paper does not discuss the
Intelligence in social formulated four research initial analysis of a limitations of the reviewed
media Big data questions to guide their review, systematic literature papers or the systematic
Analytics for Disaster focusing on the application of review on the application literature review process
Management -Initial artificial intelligence techniques, of artificial intelligence to itself. Therefore, it is difficult
Results of a Systematic the types of social media data, analyze/process social to comment on the limitations
Literature Review the disaster phases, and the media big data for of the review.
(2018) efficient disaster
challenges and limitations of the management. The authors
existing studies. identified 68 publications
Search strategy: The authors during the systematic
searched for relevant papers review process and
published between 2010 and analyzed all the identified
2018 in six major databases: papers. From their
IEEE Xplore, ACM Digital analysis, they concluded
Library, ScienceDirect, that most of the reviewed
SpringerLink, Scopus, and Web papers are on text and
of Science. They used a image classification, and
combination of keywords related mostly convolutional
to artificial intelligence, social neural networks have been
media, and disaster management. employed for the
Selection criteria: The authors classification
applied inclusion and exclusion
criteria to filter the papers based
on their title, abstract, and full
text. They included papers that
applied artificial intelligence
techniques to analyze social
media data for disaster
management, and excluded
papers that were not written in
English, were not peer-reviewed,
or were out of scope1.
Data extraction and analysis: The
authors extracted data from the
selected papers using a
predefined form and analyzed the
data using descriptive statistics
and thematic analysis. They
categorized the papers according
to the research questions and
identified the main trends, gaps,
and challenges in the field.

A Review of Artificial The authors conducted a The authors conducted a The paper does not discuss the
Intelligence systematic literature review and systematic literature limitations of the reviewed
Applications in Social identified 25 relevant review and identified 25 papers or the systematic
Media publications. relevant publications. literature review process
(2020) They analyzed the itself.
identified papers and
concluded that most of the
reviewed papers are on
text and image
classification, and mostly
convolutional neural
networks have been
employed for the
classification.
The Application of the This paper examines the impact The exploratory analysis the paper does not explicitly
Principles of of responsible AI on businesses conducted revealed that discuss the limitations of the
Responsible AI on using insights from analysis of abiding by the responsible study.
Social Media 25 in-depth interviews of health AI principles can allow
care professionals. healthcare businesses to
Marketing for Digital better take advantage of
Health the improved
(2021) effectiveness of their
social media marketing
initiatives with their users.
Artificial Intelligence The authors conducted a They concluded that most The paper does not discuss the
in Social Media: A systematic literature review and of the reviewed papers are limitations of the reviewed
Systematic Literature identified 68 relevant on text and image papers or the systematic
Review publications. classification, and mostly literature review process
(2021) convolutional neural itself.
networks have been
employed for the
classification.
Employing the The authors conducted a They analyzed the The paper does not discuss the
technology acceptance systematic literature review and identified papers and limitations of the reviewed
model in social media: identified 30 relevant concluded that the papers or the systematic
A systematic literature publications. technology acceptance literature review process
review model is a useful tool for itself.
(2020) understanding user
behavior in social media.
The Use of Artificial The authors conducted a The authors found that AI Limitations: The authors note
Intelligence in Social systematic literature review of is being used in a variety that the use of AI in social
Media Applications: A academic papers published of ways to improve social media applications raises
Literature Review between 2015 and 2022 that media applications, several ethical concerns, such
(2022) investigated the use of AI in including: as the potential for bias and
social media applications. They Personalized discrimination. They also note
identified 50 relevant papers and recommendations: AI is that there is a need for more
analyzed them to identify key being used to recommend research on the long-term
themes and trends. content to users based on impact of AI on social media
their interests and past use.
behavior. This can help
users to discover new and
relevant content and can
also increase the time that
they spend on social
media platforms.
Content moderation: AI is
being used to
automatically identify and
remove harmful content
from social media
platforms. This can help
to create a safer and more
positive online experience
for users.
Chatbots: AI-powered
chatbots are being used to
provide customer service,
answer questions, and
provide other forms of
assistance to social media
users.
Advertising: AI is being
used to target advertising
to specific users based on
their interests and
demographics. This can
make advertising more
effective and can also help
to reduce the amount of
irrelevant advertising that
users see.

Artificial Intelligence The authors conducted a the authors found that AI Limitations: The authors note
and Social Media: A literature review of academic is being used to transform that the use of AI in social
Literature Review and papers, industry reports, and social media applications media applications faces
Future Directions news articles published between in several ways, several challenges, such as the
(2021) 2015 and 2021 that investigated including: need for large amounts of
the use of AI in social media Understanding user data, the potential for bias,
applications. They identified 100 behavior: AI is being used and the difficulty of
relevant sources and analyzed to analyze user data to measuring the impact of AI
them to identify key trends and understand their interests, interventions. They also note
challenges. preferences, and that there is a need for more
motivations. This research on the ethical
information can be used to implications of using AI in
personalize the social social media applications.
media experience and to
make it more engaging.
Generating content: AI is
being used to generate
content such as news
articles, product reviews,
and social media posts.
This can help to reduce
the time and effort
required to create content
and can also help to
ensure that content is
relevant and engaging.
Identifying trends: AI is
being used to identify
trends in social media
data, such as the spread of
misinformation or the
popularity of certain
topics. This information
can be used to improve
the overall social media
experience and to make it
more informative.
CHAPTER THREE

SYSTEM ANALYSIS AND DESIGN

3.1 System Analysis and Limitations

3.1.1 Analysis of the Existing System: Instagram and the Limits of Information-Rich Social
Media

Instagram, a dominant player in the image-sharing social media world, has revolutionized the
way we connect and share visual content. It boasts an intuitive interface, powerful editing tools,
and a vibrant community, fostering a dynamic platform for expression and discovery. However,
despite its strengths, Instagram's current design faces limitations that inhibit an optimal user
experience, particularly in the realm of information richness and user empowerment.

Limited Accessibility and Context for AI Image Generation:

Friction in AI access: While some image-sharing platforms offer basic AI filters and effects,
accessing and experimenting with more advanced AI image generation tools often requires
clicking out of the app or switching to separate platforms. This creates friction and disrupts the
user flow, potentially discouraging users from exploring the full potential of AI within the social
media experience.

Erosion of user engagement: Repeatedly switching between platforms or apps to access AI can
be cumbersome and frustrating, leading to decreased engagement with both the AI features and
the social media platform itself. Users may abandon the platform altogether if AI integration
remains inconvenient or inaccessible.
Lack of AI Integration and User Empowerment:

Missed opportunity for AI-powered assistance: Integrating AI capabilities into image-sharing


platforms like Instagram remains largely untapped. This represents a missed opportunity to
streamline information discovery, personalize content recommendations, and empower users
with intelligent tools for navigating the platform.

Limited control over AI-generated content: While some image editing apps utilize AI filters
and effects, user control over these processes is often limited. This restricts creativity,
transparency, and understanding of how AI algorithms influence the visual experience.

Absence of AI literacy and awareness: Most users lack foundational knowledge about AI and
its applications within social media. This hinders their ability to critically evaluate AI-generated
content and make informed decisions about its use.

Addressing these limitations through our proposed web application:

Our project aims to bridge the gap between the visual and informational spheres of image-
sharing by integrating AI functionalities into a platform akin to Instagram. This will go beyond
simply facilitating connection; it will empower users with the tools to actively explore
information, understand AI processes, and shape their own personalized, knowledge-rich
experience.

By analyzing the limitations of Instagram and similar platforms, we have identified a clear need
for a new paradigm in social image sharing. Our project addresses this need by integrating AI-
powered content generation, knowledge extraction, and user education elements, paving the way
for a more informed, empowered, and ultimately more meaningful social media experience.
3.1.2 Justification of the New System

3.1.2 Justification of New System: CognoConnect

Background and Objectives:

CognoConnect emerges as a response to the aim of revolutionizing the user experience in social
media applications through the integration of an intelligent, AI-driven assistant. The objectives
are clear: to develop an intuitive user interface seamlessly incorporating an AI-driven image
generator, implementing OpenAI-powered functionality for efficient information processing, and
enhancing generic social media functions for a smoother user experience.

Limitations of Instagram:

The shortcomings of platforms like Instagram provide a compelling rationale for CognoConnect.
Currently, users face limitations in accessibility and context for AI image generation, creating
friction and eroding user engagement. Additionally, Instagram lacks comprehensive AI
integration and user empowerment, missing opportunities for AI-powered assistance, limiting
user control over generated content, and fostering a lack of AI literacy and awareness among
users.

Addressing Limitations through CognoConnect:

Our web application aims to bridge these gaps by seamlessly integrating AI functionalities into
the social image-sharing experience. In contrast to the current paradigm, CognoConnect
empowers users not only to connect but actively explore information, understand AI processes,
and shape their personalized, knowledge-rich experience. By analyzing the limitations inherent
in existing platforms, our project responds to the need for a new social image-sharing paradigm,
offering AI-powered content generation, knowledge extraction, and user education elements.
CognoConnect envisions a future where users are not just participants in social media but
informed architects of their digital experience.
3.1.4 Description of the New System: CognoConnect

CognoConnect stands at the forefront of innovation, redefining the landscape of social media
applications through the seamless integration of Artificial Intelligence (AI). This visionary web
application introduces a myriad of features designed to enhance user engagement, empower
content creation, and foster a more informed and personalized digital experience.

Intelligent User Interface: At the heart of CognoConnect is an intuitive user interface that
effortlessly integrates an AI-driven image generator. Users can initiate this process through
simple typed prompts, unlocking a world of creative possibilities without leaving the platform.
The interface is meticulously crafted for a visually appealing and user-friendly experience,
ensuring accessibility for users of all backgrounds.

OpenAI-Powered Functionality: CognoConnect leverages the cutting-edge capabilities of


OpenAI to intelligently process user-typed prompts. This functionality goes beyond basic content
curation, dynamically generating high-quality images that are contextually relevant and
personalized to each user's preferences. The integration of OpenAI ensures efficiency, accuracy,
and an unparalleled level of engagement.

Enhanced Social Media Functions: In addition to its AI prowess, CognoConnect optimizes


generic social media functions. Users can seamlessly send, receive, and post content, with an
optimized connection between the front-end and back-end systems ensuring a smooth and
responsive experience. The integration of the AI-driven image generator is seamlessly
embedded, enhancing the overall social media interaction.

Empowering User Experience: CognoConnect addresses the limitations identified in existing


platforms by empowering users to actively explore information, understand AI processes, and
shape their own personalized digital journey. This platform is not just about connection; it's
about providing users with the tools to navigate the dynamic intersection of AI and social
networking, thereby reshaping their digital experience.
CognoConnect envisions a future where social media is not just a passive space but a dynamic
canvas for creative expression, informed engagement, and meaningful connections—all powered
by the intelligence of AI.

3.2 Design of the proposed System

3.2.1 Data Model

(--Might need to zoom in softcopy version--)


Tabular form(3NF)

Users:

user_id (primary key)

username (unique)

password

name

email (unique)

gender

date_of_birth

country

work_profile

School

Posts:

post_id (primary key)

user_id (foreign key)

content

time_posted
Photos:

photo_id (primary key)

user_id (foreign key)

image_url

Caption

Friends:

user_id_1 (foreign key)

user_id_2 (foreign key)

Status:

status_id (primary key)

user_id (foreign key)

content

time_posted

Comments:

comment_id (primary key)

post_id (foreign key)

user_id (foreign key)

content

time_posted
Likes:

like_id (primary key)

post_id (foreign key)

user_id (foreign key)

time_liked

Scraps:

scrap_id (primary key)

user_id (foreign key)

email_id (unique)

f_email

content (text)

like_status (boolean)

posting_time (datetime)
USE CASE DIAGRAM

Use case scenarios:

Actors:

• User: Represents any individual using the app to connect and share content.
• System: Encompasses the social media platform itself, including its functionalities and
underlying technology.

Use Cases:

• User Management:
o Register and create a new account.
o Edit profile information (name, email, password, etc.).
o Manage privacy settings.
o Deactivate or delete account.
• Content Creation and Sharing:
o Compose and share text-based posts.
o Upload and share photos with captions.
o Share existing content from other platforms.
o Tag friends and locations in posts.
o Create and generate AI images
• Interaction and Engagement:
o View and browse other users' profiles and posts.
o Follow other users to receive updates in their feed.
o Like and comment on posts.
o Share posts to other users or platforms.
o Send private messages and chat with friends.
• Discovery and Community:
o Search for users and content based on keywords or hashtags.
o View trending topics and popular content.
o Join groups and communities based on interests.
o Discover new connections through recommendations and suggestions.

• Management and Moderation:


o Report inappropriate content or user behavior.
o Block other users.
o Manage group settings and rules.
o Edit or delete own posts and comments.

Relationships:

• User is associated with multiple Posts and Photos.


• Users interact with other Users (follow, friend, like, comment).
• Posts and Photos can be shared in groups and communities.
• System filters and moderates content based on user reports and community guidelines.

USE CASE DIAGRAM


(Next page)
CLASS DIAGRAM
(Next Page)
DEPLOYMENT DIAGRAM
Methodology:

To bring the envisioned social media web application with integrated AI functionality to life, a
comprehensive methodology will be employed, leveraging a stack of technologies known for
their effectiveness in web development.

• Software Tools:
• ReactJS: The front-end of the web application will be developed using ReactJS, a robust
JavaScript library for building user interfaces.
• Tailwind CSS: Tailwind CSS will be utilized for efficient and customizable styling,
providing a streamlined approach to design and layout.
• Appwrite: As the backend service, Appwrite will handle user authentication, database
management, and API integration, ensuring a secure and scalable foundation.
• React Query: React Query will be implemented for efficient and optimized data
fetching, management, and synchronization between the client and the server.
• OpenAI API and Library: To incorporate AI functionality, the OpenAI API and library
will be integrated, allowing the web application to leverage advanced AI capabilities.
• Conceptual Framework:
• The conceptual framework will be built upon ReactJS, emphasizing modular and reusable
components for an organized and scalable front-end architecture. Appwrite will serve as
the central backend framework, ensuring data security and efficient communication with
the front end.
• System Architecture:
• The system architecture will delineate the structural components and their interactions,
illustrating the integration of ReactJS for the user interface, Tailwind CSS for styling,
Appwrite for backend services, and the OpenAI API for AI functionality. UML diagrams
or visual tools specific to React development can be employed for clarity.
Conclusion

In concluding this project proposal, we embark on a journey to redefine the landscape of social
networking by seamlessly integrating advanced AI functionalities into a user-centric web
application. The fusion of ReactJS, Tailwind CSS, Appwrite, React Query, and OpenAI API
stands as the technological backbone, promising a dynamic and innovative user experience.

As we chart the course through meticulous planning, systematic development phases, and
rigorous testing, our goal is not just the creation of a social media platform but the establishment
of a harmonious synergy between human interaction and artificial intelligence. This project
envisions a platform where self-expression coalesces with intelligent assistance, revolutionizing
the way users engage with content and connect with one another.

In essence, the culmination of this endeavor isn't just the deployment of a web application; it's
the manifestation of a vision aimed at enhancing user well-being, fostering meaningful
connections, and contributing to the ever-evolving landscape of digital interaction. As we
navigate the intricate realms of technology and human experience, our commitment remains
steadfast—to deliver a product that transcends expectations and sets a new standard for the
intersection of social networking and artificial intelligence.
REFRENCES

1. Sharina Mohd Salleh and Nik Amalena, "Social Media Models, Technologies, and
Applications: An Academic Review and Case Study," International Journal of Social
Sciences and Humanities, vol. 3, no. 4, pp. 81-90, 2015.
2. Muhammad Imran Ashraf, Irfanullah Khan, and Umar Farooq, "Artificial Intelligence
Applications in social media for Depression Screening: A Systematic Review Protocol
for Content Validity Processes," Journal of Medical Internet Research, vol. 24, no. 8, p.
e39259, 2022.
3. Vimala Nunavath and Morten Goodwin, "The Role of Artificial Intelligence in Social
Media Big Data Analytics for Disaster Management -Initial Results of a Systematic
Literature Review," International Journal of Disaster Risk Reduction, vol. 27, pp. 302-
310, 2018.
4. Rui Liu, Suraksha Gupta, and Parth Patel, "The Application of the Principles of
Responsible AI on Social Media Marketing for Digital Health," Information Systems
Frontiers, vol. 23, no. 4, pp. 807-829, 2021.
5. Mohammad Nassir Al-Taftaf et al., "Employing the Technology Acceptance Model in
Social Media: A Systematic Literature Review," Education and Information
Technologies, vol. 25, no. 5, pp. 1-22, 2020.
6. Authors not provided, "Artificial Intelligence and social media: A Literature Review and
Future Directions," 2021.

You might also like