# How to show posts of only users that you follow?

**URL:** https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031
**Category:** Ask for Help
**Created:** [November 6, 2020, 12:36am UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031 "2020-11-06T00:36:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![felixvona](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/felixvona/32/16028_2.png) [@felixvona](https://community.glideapps.com/u/felixvona)
#### Post date: [November 6, 2020, 12:36am UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031/1 "2020-11-06T00:36:39Z")

</div>

Hi there,

I’m working on creating a social media app and I have a tab where all the posts from all the people are shown. Is there a way to filter them so that only posts from people you follow are shown to you?

Thank you!  
Felix

---

<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: [November 6, 2020, 12:54am UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031/2 "2020-11-06T00:54:34Z")

</div>

How are you storing the “follow” data?

---

<div class="post-metadata">

### Author: ![felixvona](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/felixvona/32/16028_2.png) [@felixvona](https://community.glideapps.com/u/felixvona)
#### Post date: [November 6, 2020, 1:22am UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031/3 "2020-11-06T01:22:00Z")

</div>

I tried it this way, but I think I’m doing something wrong:  
In the USERS sheet, I created the relationship Is Favorited with Is Favorited and then it creates the list of people who are favorited by the signed-in user.  
Then in the POSTS sheet, I created the lookup for that list and then in my mind the filter would use that list as a first value “includes” the second value which would be the username of the poster.

But I don’t think I created the “following” list correctly…?

---

<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: [November 6, 2020, 1:32am UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031/4 "2020-11-06T01:32:25Z")

</div>

I assume you’re storing the “Is Favorited” in the Users sheet as well.

In the Posts sheet, create a relation of the poster’s email back to the Users sheet, use a lookup to return the “Is Favorited”.

Then you can filter by that lookup, as favorites is natively handled as user-specific by Glide.

---

<div class="post-metadata">

### Author: ![felixvona](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/felixvona/32/16028_2.png) [@felixvona](https://community.glideapps.com/u/felixvona)
#### Post date: [November 6, 2020, 1:52pm UTC](https://community.glideapps.com/t/how-to-show-posts-of-only-users-that-you-follow/18031/5 "2020-11-06T13:52:40Z")

</div>

Oh I see!  
Thank you so much, really appreciate it!
