# 1. Follow/Unfollow the User

### 1. Follow/Unfollow the User

The profile page allows Users to view their own profile information, and the profile information of other Users in the application. &#x20;

#### The Follow/Unfollow Button on the Profile Page

When the Current User is viewing someone else's profile, the `Button Follow` and `Text Button Send Message (or Edit Profile)` elements are shown to the Current User:

![](/files/-LX2n89q_8k-LaYGiKKg)

When the `Button Follow` element is shown, and the Current User isn't yet following the person whose profile they are viewing, the `Button Follow` element's text will be "Follow":

![](/files/-LX33kys3ZYtiKDnowD3)

When the `Button Follow` element is clicked, the Current User is now following the person whose profile they are viewing. As a result, the button's text conditionally changes from "Follow" to "\[checkmark] Following".  &#x20;

![](/files/-LX2oB86gLVALVZm5Y8D)

When the "\[checkmark] Following" text is hovered, its text will conditionally change to "Unfollow":

![](/files/-LX2ngTD4IBv2dyq4d_D)

If the "Unfollow" text is clicked, the Current User will no longer be following the person whose profile they are viewing.

{% hint style="info" %}
More information on these workflows can be found in the **B. Follow/Unfollow** workflow folder.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.littlebaytech.com/templates/messaging-template/page-guides/pages/3.-logged-in/profile/1.-follow-unfollow-the-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
