It is possible to play with Xbox friends on PS4, but it requires the use of cross-platform compatible games1. You can't directly add Xbox players to your PS4 friends list because cross-platform friendships are not supported by Sony or Microsoft4. However, many games allow you to add friends through in-game systems4.
To turn on crossplay, navigate to privacy settings on your PS4 and click on “Communication and Multiplayer > Crossplay Communication > Allow”1.
: To add friends from Xbox on PS4 in Minecraft, you can connect via a Microsoft account1.
Open Minecraft and sign in to your Microsoft account1.
Select “Play” on the PS4 console1.
Select a Minecraft world1.
Press “Options” on your controller1.
Tap “Invite to Game” on the right of your screen1.
Click “Find Cross Platform Friends” from the pop-up menu1.
Enter the “Gamertag” of the Xbox friend you want to add1.
Press “Add Friend”1.
: For these games, you can use Epic Games to connect with friends1.
: To enable cross-platform invites in Sea of Thieves, you need to add the player's gamertag to your Xbox friend list5. This can be done via the Xbox app on PC or the Xbox mobile app5.
: To add a friend on Xbox from PS4, go to the party page and search for their Smite name. Then, add them to your party and send a Smite friend invite3.
: In Multiversus, enable crossplay in the settings, then search for your friend's name by pressing L3 and square. A crossplay symbol will appear next to their name if they are on a different platform2.
It's important to ensure that you and your friends have the same game version on both PS4 and Xbox1. Also, note that a PS subscription may be required to unlock more game features1.