If you are using Epic Account Services, the Social Overlay will show sessions / lobbies a players friends are in. Those sessions / lobbies can be join if they are set with JOINVIAPRESENCE. If you are not using Epic Account Services, you can search for sessions / lobbies for a single friend using…
https://dev.epicgames.com/community/learning/knowledge-base/2Yq49/epic-online-services-how-can-you-search-for-all-sessions-or-lobbies-a-player-s-friends-are-in