In today’s society, communication among people has become more frequent and extensive due to the rapid development of science, technology, and the Internet. This vast communication occurs in real life and virtual online worlds. However, with the overwhelming amount of information available, people often struggle with finding and accessing the information they need, leading to frustration. To address this challenge, we conducted a study to extract valuable information and insights from users’ social relationships. While existing models can help us understand and analyze users’ social relationships to some extent, there are still significant challenges in extracting valuable insights. Therefore, we conducted in-depth research to improve the GraphRec model and created a new social recommendation model called the CWYGNN model. The CWYGNN model is unique because it can identify deeper connections in users’ social interactions through in-depth learning of the social sequences between users. This is important for understanding users’ behavioral patterns, predicting their needs, and providing personalized services. To validate the effectiveness of the CWYGNN model, we conducted experiments and comparisons on several public datasets. The experimental results show that the CWYGNN model outperforms similar approaches in processing user social relationships and extracting valuable insights. This result provides a new way of thinking and methodology to help us better understand and serve users and ultimately enhance their overall experience. © (2024) International Association of Engineers. All rights reserved.