# Invite Friends

## Overview

The Invite Friends feature is available in LINE Versions (LINE MINI App and LINE Login LIFF).\
This feature is one of the most important tools for **user acquisition** and **user activation**, helping your Unifi Apps grow organically within the LINE ecosystem.

Referrals play a key role in driving viral spread among LINE users.\
We strongly recommend implementing this feature to maximize visibility and user engagement.

## Invite Friends Support by Version

| Version         | Invite Friends | Notes                           |
| --------------- | -------------- | ------------------------------- |
| LINE MINI App   | Yes            | ShareTargetPicker supported     |
| LINE Login LIFF | Yes            | ShareTargetPicker supported     |
| Web             | No             | implement via referral URL copy |

## How to Implement (Using LIFF APIs)

To use the Invite Friends feature, refer to the following LIFF APIs:

* [Sending Messages](https://developers.line.biz/en/docs/liff/developing-liff-apps/#sending-messages)
* [ShareTargetPicket](https://developers.line.biz/en/docs/liff/developing-liff-apps/#share-target-picker)

### Restricting Message Targets

If you want to ensure that messages are sent **only to the user’s LINE friends**, and not to other Official Accounts or group chats, set:\
[options.isMultiple as false >](https://developers.line.biz/en/reference/liff/#share-target-picker-arguments)

```
options.isMultiple = false;
```

## **Example UI**

Below is an example of the “Invite a Friend” screen.

<figure><img src="https://3579085597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjuuhQ1BuKwYKE7NR6geM%2Fuploads%2FbP5Cw03hHcTRSxQlYdUO%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202024-12-12%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%203.55.06.png?alt=media&#x26;token=5c69b7b1-5be6-4d6c-987b-281fd894c1f1" alt=""><figcaption></figcaption></figure>
