Make a Social Networking Website Like Facebook, Twitter, Instagram Using PHP and MySql - CodeTextPro | Free Web Tutorial

Codetextpro Provides free Web tutorial, HTML, CSS, C, C++, Java, JavaScript, PHP, MySql, Python, Program, Programming Notes, Programming Questions and more.

Friday, June 14, 2019

Make a Social Networking Website Like Facebook, Twitter, Instagram Using PHP and MySql

In this project, you will learn how to make a social network project/system like Facebook, Twitter, Instagram using PHP and MySql. A social network service focuses on the building and verifying of online social networks for communities of people who share interests and activities, or who are interested in exploring the interests and activities of others, and which necessitates the use of the software. Most services are primarily web-based and provide a collection of various ways for users to interact, such as messaging, queries, Advice and file uploading. In this existing system is having message sending, invite the friends, reject friends, unfriends, and communities, upload text writing and upload photo. But this system didn’t have file attachment feature.

How to work on this social networking system to learn more about this project watch the full video.

social networking project
Social Net Project

What is a Social Network?
social network is a website that allows users to communicate with each
other by posting information, comments, messages, images, etc.

Why we choose a social network?
Ø. To stays in touch with what friends are doing.
Ø. To stays up-to-date with news and current events.
Ø. To find funny or entertaining content.
Ø. To share photos or videos with others.
Ø. To share my opinion.
Ø. To research new products to buy.
Ø. To meet new people.
Ø. Because friends are already on them.

Project Description:
This project is a Social Network website.
This website is an online platform that allows users to create a public profile and interact with other users on the website.
This website can be useful for student/professional who is interested to learn and understand Social Net.

Admin Module of Social Net:
This module is purely for an administrator of the site. He can view the users and remove the user in the database. He can upload different types of features that the user can ask.

User module of Social Net:
User can view all post which is uploaded by his/her friends. User can upload photo and text writing.

Objectives of Social Net:
The objective of the project is to explain and elaborate on the concept of “Social Networking Sites” to the users, hence providing a reliable and efficient Communication online so as to assist users to afford it without much trouble.

1. To have attractive and Secure Login page to access

2. Make a new user account in more user-friendly and proper validation of details

3. Search People easily on the entire network 

4. Send Friend Request to other users to make friends

5. Add friends to your friend box accept the request

6. Creating a public profile having social, professional and personal information

7. Ease of editing of profile anytime

8. Chat with Online friends

9. Upload Images on network 

10. Send messages to other friends

11. Reply directly to incoming user messages

12. Easily password recovery processing


  • Ability to connect to other people all over the world who have already in the system.
  • Easy and instant communication.


Without online ‘Social Net’ system, managing and maintaining the details of the users. ‘Social Net’ system will store all the details of the user and including their all information.

• Sign up module: 
Sign up module will help in to create a new account. User can fill-up the form properly otherwise he/she can’t access our system.

• Login module: 
Login module will help in the authentication of user accounts. Users who have valid login id and password can only login into their respective accounts and can see their profile details and dashboard. If they want to post an image or text status on their dashboard they can.

Log in Page:
If the users have already a valid user id or password, they can log in to this website.

login page
Log in Page of the Social Networking System

Sign up Page:
If the users first time to visit this Social Networking site.

sign up page
Sign up Page of the Social Networking System

Home Page:
If the users used actual user id or password, which one they have to use in Sign up page.

home page
Home Page of the Social Networking System

Friend Request:
When a user sending you a friend request, you can see like this on the pending friend request page.

friend request page
Pending Friend of the Social Networking System

Accept/Reject Friend Request:
Those people sending you a friend request, if you want to accept/reject them, you can.

Accept/Reject Page

If you want to unfriend any person in your friend list, you can unfriend them.

Unfriend Snapshot
Unfriend Page of Social Net

Profile Page:
You can change your profile picture, cover picture, your personal details any time.

edit profile
Change your profile details

Those people friends request you have to accept, you can see this the notifications page. 

Notification Page

Message Page:
Those people he has your friend list, you can messages them. 

  Message Page
Message Page

message page
People Messages

Reset Password:
If you forget your password, don't worry. You can reset your password anytime, just types your user id then click search.

reset password
Enter User Id

If you type the actual user id which one you provide when you register this site. If you enter correct user id, then you can show your profile. Click your profile and answer the security question and then click update.

reset password
Answer Security Question

If you complete the above process, then you can see this page. Enter your new password two time, then click update.
new password
Enter New Password

Logout Page:
When your work finished, you want to log out your id, just click the lock sign in the top right corner of your page.

log out
Log out your session

Contact me if someone takes this project with proper documentation and PHP & MySql Source Code.


  1. Gd job.... Carry onn babuuu

  2. Hello bro, I want your work, can you give me a source code? please, thank you

  3. Hey bro,can i take Source code of this project Plz?

  4. Good job, I want to learn how to create something like this.

    1. First design a layout using html and css, then using php and mysql to connect database.

  5. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. smm panels list

  6. Due to the continuous development of Internet Marketing Industry, there are many social networking sites, each of which has unique characteristics and purpose. viral magazine sites Like other forms of social media it allows for a more personal look of the actual user.

  7. This is extremely fascinating substance! I have completely delighted in perusing your focuses and have reached the conclusion that you are right about a hefty portion of them. You are extraordinary.  review wix website creator

  8. Better execution and dependability settles on PHP the decision of PHP developers all over the place. CakePHP Application Development

  9. At the point when utilized along these lines, PHP empowers your web server to process site pages before they're shown in the client's internet browser.Why use Laravel

  10. Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing? freelance web designer

  11. Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. first reseller panel