Photon Friends List

Hello,
I want to add friends list where players can see if friends are online/offline and invite them to the room. I couldn’t find enough documentation for this. Can you share a code or give some detailed documentation or some ideas please?

You will need some service to provide friends. This could be PlayFab or Facebook or any other community you could use from the clients.
This community must enable you to add/remove friends and to get the list of those. With a list of your friend’s IDs, you can use PhotonNetwork.FindFriends() to check if they are in some room already. You can’t send them messages through Photon without being in the same room, but pretty much any community service will do that. So you can invite your friends, too.

In the Photon API, each user identifies itself with the community’s ID, by setting the UserId accordingly. Set PhotonNetwork.authValues before you connect to Photon and you can be found (FindFriends()) via this ID.