Use this function to check the logged user is a friend of any other user. Here Viewer is logged user object and user is the one who want to check.
$viewer->membership()->getRow($user);
Use this function to check the logged user is a friend of any other user. Here Viewer is logged user object and user is the one who want to check.
$viewer->membership()->getRow($user);
Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by whitelisting our website.