How do we get the friend list of a particular user in the index.php in the default template?
Background - We are integrating a third party chat service AtomChat witch fetches user details like the username, user_id etc.
The parameter used is $user = JFactory: :getuser();
But we aren't able to fetch the friend list here.
This would really help us modify the code and fetch the friend list.