photon.friendonline(Name) shows 0 construct 3

simraan
✭
Hi,
I am having issue with finding friends which are online so i know the UserID and i am setting my events like this
on button pressed -> Request status of friends (Name)
on FindFriend Result -> set a text to Friend Name
also i connected to name server first and updated UserId as well but no matter what do it shows 0 and i am stuck because i cant find a solution
please note i am using construct 3 for this
0