# Retrieve data from firebase

**URL:** https://community.thunkable.com/t/retrieve-data-from-firebase/45931
**Category:** Questions about Thunkable X
**Created:** [September 9, 2018, 9:25pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931 "2018-09-09T21:25:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![HEHEHE](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@HEHEHE](https://community.thunkable.com/u/HEHEHE)
#### Post date: [September 9, 2018, 9:25pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/1 "2018-09-09T21:25:12Z")

</div>

![15365264958361596822978](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/f/df3fc6ad9fa23f45f86b223632e7c3b21f31fb48.jpg)  
 ![15365263726631861907492](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/5/f5ebaac85b828c7e229567438248aa89d3f49bf8.jpg)  
I m not That new to thunkable but don’t know why can’t retrieve “message”  
Please tell me my mistake

---

<div class="post-metadata">

### Author: ![Conor](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Conor](https://community.thunkable.com/u/Conor)
#### Post date: [September 9, 2018, 10:17pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/2 "2018-09-09T22:17:54Z")

</div>

Your if statement is checking to see if the value of the `message` tag is equal to “message”. In this case your value is equal to “hvj vvjvjvj” thus meaning that it will set the label’s text to the error instead.

---

<div class="post-metadata">

### Author: ![HEHEHE](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@HEHEHE](https://community.thunkable.com/u/HEHEHE)
#### Post date: [September 9, 2018, 10:32pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/3 "2018-09-09T22:32:04Z")

</div>

I changed from message to hvj but still getting undefined

 ![Screenshot_2018-09-10-04-00-40-900](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/74b6863ce08b1cbcd5b92ea7521a4c4d651768f5.jpeg)

---

<div class="post-metadata">

### Author: ![HEHEHE](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@HEHEHE](https://community.thunkable.com/u/HEHEHE)
#### Post date: [September 9, 2018, 10:37pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/4 "2018-09-09T22:37:37Z")

</div>

Ok got it I must have changed only at if and not above thankyou @Conor

---

<div class="post-metadata">

### Author: ![HEHEHE](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@HEHEHE](https://community.thunkable.com/u/HEHEHE)
#### Post date: [September 9, 2018, 10:48pm UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/5 "2018-09-09T22:48:35Z")

</div>

Let me tell you what exactly I want to do @Conor  
I have “sign in” in screen 1 and my firebase is connected to this  
I get emails that you enter in app  
Now from app I want to show all emails connected to this app from a specific button click  
I don’t know how to retrieve this email in firebase on some button click! By retrieve I only meant to show this user  
[Screenshot\_2018-09-10-04-16-14-282|455x500](https://community.thunkable.com/uploads/short-url/47BraiTLF20dbM5y0nPsmgvrW55.jpeg)  
Please help sir

---

<div class="post-metadata">

### Author: ![Conor](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Conor](https://community.thunkable.com/u/Conor)
#### Post date: [September 10, 2018, 9:34am UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/6 "2018-09-10T09:34:56Z")

</div>

You’ve also changed the key now… the key should be `message`, the value of the key is “hvj vvjvjvj”.

---

<div class="post-metadata">

### Author: ![HEHEHE](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@HEHEHE](https://community.thunkable.com/u/HEHEHE)
#### Post date: [September 10, 2018, 11:44am UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/7 "2018-09-10T11:44:27Z")

</div>

Let me tell you what exactly I want to do @Conor  
I have “sign in” in screen 1 and my firebase is connected to this  
I get emails that you enter in app  
Now from app I want to show all emails connected to this app from a specific button click  
I don’t know how to retrieve this email in firebase on some button click! By retrieve I only meant to show this user

 ![Screenshot_2018-09-10-04-16-14-282](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/c/1ce4bcf03c77722eb3db7e76d5e1a30d2f3abcbb.jpeg)  
Please help sir

---

<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, 11:59am UTC](https://community.thunkable.com/t/retrieve-data-from-firebase/45931/8 "2024-11-08T11:59:46Z")

</div>


