Recommender systems (RSs) have been adopted in a variety set of web services to provide a list of items which a user may interact with in near future. Collaborative filtering (CF) is one of the most widely used mechanism in RSs that focuses on preferences of neighbours of similar users. Therefore, it is a critical challenge for CF models to discover a set of appropriate neighbors for a particular user. Most of the current approaches exploit users’ ratings information to find similar users by comparing their rating patterns. However, this may be a simple idea and over-tested by the current studies, which may fail under data sparsity problem. Recommender system as an intelligent system needs to help users with their decision making process, and facilitate them with personalized suggestions. In real world, people are willing to share similar interest with those who have the same personality type; and then among all similar personality users pope may only take advice and recommendation from the trustworthy ones. Therefore, in this paper we propose a two-level model, TAP, which analyzes users’ behaviours to first detect their personality types, and then incorporate trust information to provide more customized recommendations. We mathematically model our approach based on the matrix factorization to consider personality and trust information simultaneously. Experimental results on a real-world dataset demonstrate the effectiveness of our model.