Social relationships play an important role in improving the quality of recommender systems (RSs). A large number of experimental results show that social relationship-based recommendation methods alleviate the problems of data sparseness and cold start in RSs to some extent. However, since the social relationships between users are extremely sparse and complex, and it is difficult to obtain accurately user preference model, thus the performance of the recommendation system is affected by the existing social recommendation methods. In order to accurately model social relationships and improve recommendation quality, we use explicit social relationships such as user-item ratings, trust relationships and implicit social relationships such as social tags to mine potential interest preferences of users and propose an improved social recommendation method integrating trust relationship and social tags. The method map user features and item features to the shared feature space by using the above social relationship, respectively, and obtains user similarity and item similarity through potential feature vectors of users and items, and continuously trains them to obtain accurate similarity relationship to improve the recommendation performance. Experimental results demonstrate that our proposed approach achieves superior performance to the other social recommendation approaches.