# 👫 Friend Requests in Glide

**URL:** <https://community.glideapps.com/t/friend-requests-in-glide/43681>\
**Category:** Community Resources\
**Tags:** tutorial\
**Created:** [June 29, 2022, 11:15pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681 "2022-06-29T23:15:52Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [June 29, 2022, 11:15pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/1 "2022-06-29T23:15:53Z")

</div>

# 👋 Hey fellow Gliders!

In this intermediate-level video, you’ll learn how to allow users to request to be a friend to another user.

👉 Allow users to request friendship  
👉 Allow that user to accept/decline the request  
👉 Accepting a friend requests mutually adds friendship  
👉 Allow either friend to remove the friendship (mutually ends the friendship)

This one uses quite a bit of array logic and a few custom actions on buttons, but the UX is pretty slick!

### 🍿 Enjoy!

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/9/097f6eecf18fc3cdfb09b9ae0c972305d7dbe4f5.jpeg "Glide: Friend Requests") ](https://www.youtube.com/watch?v=e7i6l7hCy5g)

💎 Grab a copy of this app by becoming a Glide VIP member!

> **[Robert Petitto](https://www.youtube.com/channel/UCO9Yiy4Hi8vBzsJmsjgu-mQ/join)**
>
> Tutorials and training resources for WA Faculty and all things Glide Apps.

---

<div class="post-metadata">

**Author:** ![fkuk1214](https://avatars.discourse-cdn.com/v4/letter/f/50afbb/32.png) [@fkuk1214](https://community.glideapps.com/u/fkuk1214)\
**Post date:** [April 19, 2023, 1:43pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/3 "2023-04-19T13:43:54Z")

</div>

Amazing tutorial! But why no replies?

Edit: I made it 1 reply

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 19, 2023, 2:30pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/4 "2023-04-19T14:30:28Z")

</div>

Not sure! Happy to see you found it useful!

---

<div class="post-metadata">

**Author:** ![fkuk1214](https://avatars.discourse-cdn.com/v4/letter/f/50afbb/32.png) [@fkuk1214](https://community.glideapps.com/u/fkuk1214)\
**Post date:** [April 19, 2023, 2:30pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/5 "2023-04-19T14:30:40Z")

</div>

no problem!

---

<div class="post-metadata">

**Author:** ![fk1214](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fk1214/32/71058_2.png) [@fk1214](https://community.glideapps.com/u/fk1214)\
**Post date:** [March 24, 2024, 8:38am UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/6 "2024-03-24T08:38:09Z")

</div>

What do you set the visibility for the accept/decline button bar?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 24, 2024, 9:59pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/7 "2024-03-24T21:59:16Z")

</div>

Whether or not the person (email) is the signed user. Don’t want them being able to accept themselves as a friend

---

<div class="post-metadata">

**Author:** ![Ivanne\_Poussier](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ivanne_poussier/32/46575_2.png) [@Ivanne\_Poussier](https://community.glideapps.com/u/Ivanne_Poussier)\
**Post date:** [November 14, 2024, 11:08am UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/8 "2024-11-14T11:08:46Z")

</div>

Hi @Robert_Petitto thank you very much for this thorough tutorial!  
The only thing I don’t understand is how to get access to (or purchase) your template?  
Thank you for your answer.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 14, 2024, 12:22pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/9 "2024-11-14T12:22:44Z")

</div>

Hi Ivanne,

Those who join as a VIP member to my YouTube channel get access to all my past and future templates.

This link should take you to my join page:

`https://www.youtube.com/channel/UCO9Yiy4Hi8vBzsJmsjgu-mQ/join`

---

<div class="post-metadata">

**Author:** ![Ivanne\_Poussier](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ivanne_poussier/32/46575_2.png) [@Ivanne\_Poussier](https://community.glideapps.com/u/Ivanne_Poussier)\
**Post date:** [November 14, 2024, 12:47pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/10 "2024-11-14T12:47:38Z")

</div>

Thank you Robert,  
This is awesome! I had no idea that this kind of subscriptions existed through Youtube.  
As I am following you from France, the Youtube page displays 2 buttons: subscribe (to follow the channel) and “Rejoindre” (basically: join) which is the way to become a VIP member.  
In short: not very intuitive given that there are already 3 links one can click.  
This makes my day, again thanks.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 14, 2024, 1:32pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/11 "2024-11-14T13:32:00Z")

</div>

Yeah…One day I’ll have a proper community with proper and more obvious ways to “join”. DM me if you still can’t find what you’re looking for!

---

<div class="post-metadata">

**Author:** ![dana](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dana/32/80048_2.png) [@dana](https://community.glideapps.com/u/dana)\
**Post date:** [December 19, 2024, 6:38pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/12 "2024-12-19T18:38:32Z")

</div>

@Robert_Petitto I’m confused about how users find other users to add them as friends. presumably they should search “john” and it would look at info in the public profile table. I would want them to be able to search by email but i don’t want that exposed in the public profile section. How should they do that?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 19, 2024, 6:49pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/13 "2024-12-19T18:49:07Z")

</div>

> [@dana](#):
>
> I would want them to be able to search by email but i don’t want that exposed in the public profile section. How should they do that?

You can’t have your cake and eat it too 😉  
If the email address isn’t in the Public Profile then it’s not possible. You can’t find something that doesn’t exist.

---

<div class="post-metadata">

**Author:** ![dana](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dana/32/80048_2.png) [@dana](https://community.glideapps.com/u/dana)\
**Post date:** [December 19, 2024, 7:28pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/14 "2024-12-19T19:28:04Z")

</div>

Is it safe to use the email in public profile? Should I make it a row owner?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 19, 2024, 7:50pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/15 "2024-12-19T19:50:13Z")

</div>

If you make email a row owner column, then the only row accessible to a user with a search will be their own. They won’t have any kind of access to rows of other users that they do not own.

If you have an email that is just hidden from view on the screen, but the rows with that email are accessible to all users (not under row ownership), someone could still snoop the network traffic and underlying code to figure out someone’s email address.

---

<div class="post-metadata">

**Author:** ![dana](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dana/32/80048_2.png) [@dana](https://community.glideapps.com/u/dana)\
**Post date:** [January 10, 2025, 9:33pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/17 "2025-01-10T21:33:20Z")

</div>

Have you been able to ‘double friend’ at once time? friends is working correctly adn i set up an invite system which is connecting users to codes. However…since I cant record the invitee email in a public table, i can not figure out how to double friend for this case.

-existing user invites new user and provides code.  
-new user creates account and ‘accepts’ friend request (it can be done the normal way bc the user is new and wasnt actually invited)

- from the friend logic i can 1- add the friend in one direction (the user adding to the invitee since the use is logged in) but can’t see how to do it bi-directional.

Thoughts?

---

<div class="post-metadata">

**Author:** ![dana](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dana/32/80048_2.png) [@dana](https://community.glideapps.com/u/dana)\
**Post date:** [January 10, 2025, 9:52pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/18 "2025-01-10T21:52:56Z")

</div>

Anoterh question is how to send an email to alert a user that a friend has requested them. emails are not in the public profile tables…is there a way to do this?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 10, 2025, 10:22pm UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/19 "2025-01-10T22:22:58Z")

</div>

Ony way to do this would be to use the API → request has user ID → query users → fetch email → email user.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 11, 2025, 1:42am UTC](https://community.glideapps.com/t/friend-requests-in-glide/43681/20 "2025-01-11T01:42:37Z")

</div>

I have 2 questions:

1/Why do you need to do it bi-directional? I assume you have an Invites table that stores the user IDs of both people?

2/You’re having row owners for the Users table, and a mirrored public table that doesn’t contain the email?
