Here, we use machine learning, in the form of an artificial neural network, to calculate the probability that a user's friend request on Face book is genuine/real or not. The relevant libraries and classes are also described. Further, we talk about the sigmoid function and how the weights are calculated and applied. In the end, we think about the most crucial aspects of the social network page to consider while implementing the proposed solution.