After searching all over the forum, I noticed that there are no examples that speak of a Social Network, so I decided to write one.
This example below contains the possibility of:
HOME
• Registration;
• Connection;
• add and display the status of friends;
• Publish the text and image;
• Display the Publications;
• Like, Unliker, Comment and Share a post;
FRIENDS
• Display the suggestions of friends to invite;
• Send an invitation;
• View invitations received;
• To accept an invitation;
• View invitations sent;
• Display the number of unsuccessful invitations on the Friends icon;
MESSAGES
• Display the list of friends already in contact and the last message;
• Show the number of unread messages from all users on the message icon;
• Display the number of unread messages from a friend at the end of their name;
• Send text message, voice, audio, video, files (PDF, ZIP, TXT, HTML, DOCX);
• Receive messages;
• Delete a message;
• Share a message;
• Copy a text message;
• Delete a conversation with a friend;
• Create a group;
• Send a text message to the group;
• Leave the group;
• Display the date and time when the message was sent to you;
NOTIFICATION
• Show welcome notifications after registration; when a friend likes, unlike, shares or comments on your post;
• Show the number of unread notifications on the notification icon;
• Delete a notification;
• Display the date and time when the notification was added;
PROFILE
• View my profile with all my information (Name, Profile Image, Birthday, Kind, and Description);
• View a friend's profile with all their information (Name, Profile Image, Birthday, Kind, and Description);
To write this code and to get everything to work properly, I worked more than 10 days. At first I decided to set a purchase price for this code but later I still decided to let everyone donate as they wish. But the next version will have a fixed purchase price.
Make your Donation here to get the code