Two predominant methods for analyzing financial markets have been technical and fundamental analysis. However, the emergence of the Internet has altered the trading landscape. The availability of Internet and social media access plays a moderating role in information asymmetry, resulting in investors making informed decisions. Social media has turned into a source of information for investors. Through diverse communication channels on social media, investors articulate their perspectives on whether to buy or sell a stock. According to Surowiecki, the collective opinions gathered through social media frequently offer better predictions than individual opinions, a phenomenon referred to as the Wisdom of the Crowd. The wisdom of the crowd stands as an essential measure within social networks, with its potential to reduce errors and lessen information-gathering costs. In this study, we tried to evaluate the wisdom of the crowd's potential to improve stock price prediction accuracy. So, we developed a prediction model by Long Short-Term Memory based on the wisdom of the crowd. Users' opinions in Persian about the Tehran Stock Exchange (TSE) stocks were collected from SAHMETO for eight months. The Support Vector Machine classified them into buy, sell, and neutral classes. During the research period, people mentioned 823 stocks, and 52 stocks with over 100 signals were chosen. The results of the study show that although the model presented has achieved an acceptable level of accuracy, correlations between the actual and predicted values exceeded 90%. The accuracy metrics of the proposed model compared to the base model were not improved.