# Get Friends

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

Gets the list of friends of a given type related to the user.

Heathen exposes the native count and gets methods as well as an array-based implementation.

### Flag

The flag indicates what kind of friends to fetch a list for ... the "Immediate" option is the typical flag used and returns the "normal" friends that you would see in the Steam client's friends list.

Learn more about the different flag options at the link below

{% embed url="<https://partner.steamgames.com/doc/api/ISteamFriends#EFriendFlags>" %}

## Nodes

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2F1N7nU59Q15q1Fjpcjkl1%2Fimage.png?alt=media&#x26;token=7c48ef30-90ad-4c8d-b0b2-c8c3ef32a3b8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2FT2xul02GdKFBkPJpUYkr%2Fimage.png?alt=media&#x26;token=95280d55-bef5-4afd-aa83-55d5b4046b66" alt=""><figcaption></figcaption></figure>
