The research work presented within this paper solves the problem of automated search for heterogeneous data in social media of the Internet (SMI). Building a system for obtaining and subsequent analysis of heterogeneous data in SMI – a complex multi-stage process in which specialists of various profiles and qualifications participate. Therefore, one of the main problems in the design of such systems is the coverage of all aspects of the functioning of the software-analytical complex, providing a common language for specialists, which allows us to uniquely, and clearly, understandably formulate the basic concepts of the projects. One of the main and basic tasks in analyzing the pages of a SMI user is to build algorithms for analyzing the user data environment (UDE). The quality of software will depend on the implemented algorithms. The construction of such algorithms, on the one hand, provides an understanding of the process of forming functional individual modules of the system and their interaction, on the other hand, laying a qualitative foundation in the future system. Algorithms for data analysis in the SMI will be designed based on the basic principles of behavior of the user registered in it.