A fully functional project based on social networking service “Twitter” which uses PHP Language. Following PHP project contains all the essential features which can be in use for the final-year IT students for their college projects. It has a number of features that will allow users to interact just like on other social networking sites. This system as well as the website’s concept is all clear. It’s the same as real-life scenarios and well-implemented on it. To download free Twitter Clone project in PHP MySQL with source code files, please scroll down to the bottom of this post for the Download button.
About Social Networking Site Twitter Clone PHP Project
In particular, this Twitter Clone project in PHP MySQL focuses mainly on tweet-related services. Also, the website displays all the tweets with their respective details. In addition, the site allows user registration, follow-unfollow, retweets, comment, like, and more. Evidently, this project only contains client-side. In an overview of this website, a user can simply register with their unique usernames. He/she can search and follow other available users. In fact, the best thing about this project is tweets and retweets. All the users can share their tweets or retweet other users’ tweets. Here, this site project allows users to share images too; meaning users can share tweets with an image attachment just like the real ones.
Retweet, Quote Tweet, Like Tweet
With it, here comes an important section of this project. The very first thing to mention out here is that each user can retweet and quote other users’ tweets. It’s quite simple and worth mentioning because this whole thing is the main part of Twitter as it makes them unique from others. Regarding UI, it is quite similar to the real ones as the user can simply add their own text and quote it. And as a result, the website displays the main user’s tweet content covered other users’ touch with it. Also, the user can like other available public tweets. With the help of Ajax, JQuery the likes number are displayed instantly without reloading the website.
Mention, Hashtags, Comment Tweet
Moving on, this project is not just limited to tweets and user registration. But, it’s more than that, where people can actually mention other users in their tweets. Talking about hashtags, any user can create hashtags in their comments. Here, each hashtag has its own UI style similar to the real one which in fact makes the thing much clear and easier to differentiate. In addition to it, the users can also comment on each other’s tweets, but the difference here is that this project does not support emojis. Also, the project allows viewing total likes and their respective account names. These three-section has almost the same features as Twitter except for some advanced updated features.
Follow, Unfollow Users, Notifications
On one hand, a user can use the search bar in order to search available results. Here, the users can also follow and unfollow each user with ease. With it, each follows and unfollows action, the system generates total followers and following in real-time. In fact, the site allows Twitter users to check his/her followers and following list. After mentioning these features, it is sure that such features require some kind of notification to alert the users. So, this Twitter clone project provides notification services to its users. To be more precise, every user receives notifications for their actions which include following, retweeting, quote tweets, likes, and comments. Also, the site users can view a total number of unseen notifications displayed with a badge counter.
Update Profile and Others
On the other hand, this cloning project allows updating profiles too. Under this, the system includes certain topics like email, username, avatar, and cover. In fact, the users can update their avatars and covers without any hesitation. Regarding system settings, the user can make changes to their usernames, password, and email. Moreover, the system displays three random user accounts under the recommendation section named as whom to follow. The list gets updated with each page refresh too. This particular section is a total clone from the real Twitter except this clone has random user settings whereas the real one comes with its own algorithms. Besides, each user can view each other’s details such as their shared tweets, media, and the contents they liked from the profile section.
Last but not least, a clean, simple, and similar Twitter UI is presented with similar color combinations for greater user experience while using this Twitter Clone Project in PHP MySQL. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Social Networking Site Project in PHP MySQL which includes a client-side that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.
Available Features:
- User Registration
- Post Tweets (Normal and Images)
- Retweet and Quote Tweets
- Like and Comment Tweets
- Mention Users, Hashtags
- Receive Notifications
- Like and Comments Counter
- Search Users
- Follow and Unfollow Users
- List Following and Followers
- Manage User Profile
- View User’s Liked Content
- Set Avatar, Cover Photo
- Change Password
Project Name: | Social Networking Site “Twitter Clone” |
Technologies Used: | PHP with AJAX, JQuery |
PHP version (Recommended): | 5.6, 7.4 |
Database: | MySQL |
Type: | Website |
Developer: | Amin Yasser |
Updates: | 0 |
Instructions: How to Run?
- After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
- There you’ll find a folder naming “htdocs”.
- Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
- Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
- Then, go to URL “http://localhost/phpmyadmin“.
- Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
- Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
- After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
- All the login details are provided inside the project folder, check that out and enter in order to use it.
And there you have it, a full setup of the Social Networking Site Twitter Clone project using PHP MySQL. For this particular PHP project, PHP Version 5.6 or 7 is required because the project does not operate with the oldest PHP version. So, users with the oldest PHP version (older than 5.6) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the old version) at the moment. Also, Download Free Twiter Clone Project in PHP MySQL Source Code. So, this social networking site PHP project is a fully functional project for all the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.
Free Download Twitter Clone Project in PHP MySQL with Source Code:
Click the Download Button Below to Start Downloading
Note: Only for Educational Purpose
No admin part?
Nope
sir, url [ “http://localhost/phpmyadmin”]its not working
can you please look it sir…
That “PHPMyAdmin” problem is not due to these projects. It’s coming from your own local server.
Hi! Sir. First, A great code!! My congratulations.
Two questions, one, comments button(in a popup) not working for me. Maybe I did something wrong. second, how I create a popup what open in every click?
Thank you very much…
sir, I have small doubt…. that is In the instructions when you click on the import tab, after importing that tweetphp file(.sql) after that… Did you click “Go” button right?
sir, Actually I am submitted this TwitterClone project to my college. Can you please do the instructions into a video? Please, sir, It’s my humble request.
Sorry, our only job is to share these source codes with the students.
Can you make a dashboard for us
Sir, where can i find login details like passwords and username… etc
Sir, the Twitter logo is not getting while opening the front page…it shows a box without an image. and when I’m clicked go button after it shows an error in the database that is (CREATE TABL………………………………………. this… how to solve this?
please help me sir…
Do not change the name of the project folder without configuration.
Sir, I did not change anything…I’m just followed the instructions and it is not showing Twitter logo(bird)
That’s impossible, this project has its own baseurl, so everything is connected with it. Besides, what about the db connection?
sir, I’m started Mysql in the xampp control panel before running the project.
You should also start Apache and not just MySQL in the XAMPP
Yes, sir, I’ve started apache also…
Sir, Actually it displaying an error in the database…After clicking the “Go” button in the import tab.
And what’s the error message?
Sir, after login profile and setting modules are not working and notification symbols, home symbol and above… are not showing and it showing boxs without image…
Do not change the name of the project folder without configuration.
sir, I’ve not changed anything. I followed the instruction…
Please help me, sir… I’m requesting
Sir, twitter logo is not showing it showing just box without image and profile ,setting modules are not working and it showing 404 error(NOT FOUND error) and also images are not showing not only twitter logo but also home, notification, profile, setting symbols. Please help me sir….
Do not change the name of the project’s folder without configuration
Sir, I have not changed anything.
What about db connection?
I’m connected MySQL and Apache from XAMPP control panel.
Sir,this is the last month I have for the project submission.Please help me to complete this project successfully.
I’m requesting… Sir, please…
This is all we’ve got from the developers!
Sir,can i import (sql) file Again is it ok for project complete working…
First, drop the existing db and reupload it
Sir, I did what you said. But it shows only 55 queries are executed. Maybe that is the problem that’s why it is not showing symbols(box without image) of home, notifications, Twitter bird, and settings. Settings and profile modules are not working and the comment section also not working. Only these are the problems…please look at it Sir, please…
What’s your PHP version?
Comment Tweets ,Like and comments counter, Search users, list following and followers, manage user profile, View Users liked content, set avatar, Cover photo ,change Password. and remaining things are mentioned in above comment Sir. Other than this everything is OK.
Particularly I’m not installed any PHP version Sir. which PHP version have to install I mean it is 7.4.But thread safe or non thread safe. I don’t know anything about PHP versions. Can you please tell me about which one have to install and how.
This project is tested with PHP 5.6 and PHP 7.4, so we recommend users to go with it!
Sir, I’m installed php version 7.4. Is there any other instructions to follow after installing the php version 7.4 like any other system settings or config changes.
Nope. After installing PHP 7.4 simply, set up a db connection for this project with the given db file.
THANK YOU Sir for your kind help.
Project running successfully…But i have small doubt that is, In signup we are using MAIL right([email protected]) why don’t we use GMAIL in place of MAIL.
You can provide Gmail too, that doesn’t matter. We use “mail” as a demo detail so…
Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`tweetphp`.`follow`, CONSTRAINT `follow_ibfk_2` FOREIGN KEY (`following_id`) REFERENCES `users` (`id`) ON DELETE…………….
Why it showing this after I tested to login?
but If, I refresh the page the home.php shows up
Still How do i Solve the Issue?
Exactly where did you get this error? Also, can we know about your PHP version?
It came after I logged in index.php
The problem is happening in Line:45 HandleSignUp
as PHP is not my main language to work on that why I don’t know my PHP Version
First, open command prompt.
Second, Locate the directory [Xampp folder] using cd “C:/Xampp/php” or it might be different.
And simply type the command “php -v” You’ll get your PHP version!
this is really usefull….great….Thank you
the code source isn’t complete, somes page missed the package like settings, profil and notification
This is all we’ve got. And there are pages that supports notifications and all as shown in the demo video
Connection failed: SQLSTATE[28000] [1045] Access denied for user ‘rickthor’ @’ localhost ‘ (using password: NO)
Can u help me
Configure the project according to your own server details.
Pls I’m having issue configuring the page upload page to accept more than one image but it showing error can I get help on it
Thank you
Sorry, what?
hello, is there a way a person on their profile they are able to remove/delete posts?