# \[Slate,Steam\] How do I use SFriendsList and the FriendsAndChat Module?

**URL:** <https://forums.unrealengine.com/t/slate-steam-how-do-i-use-sfriendslist-and-the-friendsandchat-module/287453>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, feedback, CPP, question\
**Created:** [July 5, 2014, 5:55am UTC](https://forums.unrealengine.com/t/slate-steam-how-do-i-use-sfriendslist-and-the-friendsandchat-module/287453 "2014-07-05T05:55:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [July 7, 2014, 4:17pm UTC](https://forums.unrealengine.com/t/slate-steam-how-do-i-use-sfriendslist-and-the-friendsandchat-module/287453/3 "2014-07-07T16:17:36Z")

</div>

Dear Josh,

#Thank You For The Awesome Online Subsystem!

I currently have implemented my own custom Friends List and chat system!

So I have completely non-Steam looking implementation of the Steam Friends List!

Here’s the core code I deduced from your OSS test files like

**TestSessionInterface**

and the **Test Friends Interface**!

```
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//Get Epic's Generalized Implementation of an Online User's Presence on the Net!
const FOnlineUserPresence& FriendPresence = (*FriendsListPtr)[v]->GetPresence();
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

//Online?
if(FriendPresence.bIsOnline)
{
//...

//Playing This Game?
if(FriendPresence.bIsPlayingThisGame)
{
//...

```

Here’s a picture!

In my game people can simply double click on the names of friends to invite/join their game!

Green = online, faded = offline, and I highlight the friend the cursor is on 🙂

 ![9775-joyfriendslist.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/f/36f250c6fff996021863c964d5dca231b4ae1b7d.jpeg)

🙂

#Steam Wiki tutorial

I also made a Steam wiki tutorial to get people started with the Steam API / dlls etc!

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

#Have fun today Josh!

#❤

Rama

---

_[View the full topic](https://forums.unrealengine.com/t/slate-steam-how-do-i-use-sfriendslist-and-the-friendsandchat-module/287453)._
