Chapter 6. Adding Friendship Capabilities
In Chapter 5, Managing Users, we implemented the user registration and login system. We now have user information in our database and we can continue with one of the most important characteristics of social networks—friendship. In this chapter, we will add a logic for the following:
- Finding friends
- Marking users as friends
- Displaying the linked users on the Profile page