# Read the value from a list in Firebase

**URL:** <https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, beginner\
**Created:** [June 3, 2021, 9:15am UTC](https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867 "2021-06-03T09:15:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![naqadaqe.quik](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@naqadaqe.quik](https://community.thunkable.com/u/naqadaqe.quik)\
**Post date:** [June 3, 2021, 9:15am UTC](https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867/1 "2021-06-03T09:15:33Z")

</div>

I had successfully save a list with these blocks below.  
My problem is I want to check whether the user’s already in one of the chatroom, so the list will not create a new one.  
Example, if Person A is there in the index0 room, then function only read the data without create a new one.

![Screenshot (483)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/c/2c7d33bc427285d1f3d20ddabd1dc9540fe33c84.png)  
 ![Screenshot (484)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/3/73f1167b2619b212a661cd80c3fd4084dff82854.png)

[https://x.thunkable.com/copy/11142c0668d6b270162675f7e20b28e5](https://x.thunkable.com/copy/11142c0668d6b270162675f7e20b28e5)

It’s a mess now in my project because I am trying lots of ways to break through. Thank you. 😃

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 3, 2021, 4:28pm UTC](https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867/2 "2021-06-03T16:28:15Z")

</div>

You might be able to learn how to search through Firebase nodes from this topic:

> [@How to get data from firebase and list in listviewer?](https://community.thunkable.com/t/how-to-get-data-from-firebase-and-list-in-listviewer/1321881):
>
> i am a newbie to this platform… so i dont know how to get data from firebase to my app… this is my firebase structure [OnPaste.20210602-213538] in the picture i want to display all my categories eg: Ice Cream , milk, etc… in my listview please help me it is an urget!!!

If you get stuck, post a screenshot of what you’ve tried (the screenshot above is a Save block which doesn’t have anything to do with reading values from a list…).

---

<div class="post-metadata">

**Author:** ![naqadaqe.quik](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@naqadaqe.quik](https://community.thunkable.com/u/naqadaqe.quik)\
**Post date:** [June 4, 2021, 6:21am UTC](https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867/3 "2021-06-04T06:21:15Z")

</div>

Finally, I tried a different to do it. I use Firebase UID to separate each room and also use list viewer to show the chat. Is much easier for me 😂. Probably there are more advance way to make this.

I shared my blocks and firebase DB here. 🙏 Feel free to give some advice. 😃

 ![1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/c/4cf8eea380b6e0ee131cd674df40e1e58f6beda4.png)  
 ![2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7d8a3e80e85e1945fbecdc1ee6e5240d383a67c2.png)  
 ![3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/4/14aa3a40b56aeca823e7d23c68326c2a1a74e8ba.png)  
 ![4](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/f/6f4d62273666f592c436cc542803c1eb2f767fa1.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/read-the-value-from-a-list-in-firebase/1322867/4 "2024-11-08T13:22:08Z")

</div>


