# Saving and Geting information with Firebase

**URL:** <https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728>\
**Category:** Questions about Thunkable X\
**Created:** [March 26, 2020, 2:54am UTC](https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728 "2020-03-26T02:54:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leito](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Leito](https://community.thunkable.com/u/Leito)\
**Post date:** [March 26, 2020, 2:54am UTC](https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728/1 "2020-03-26T02:54:00Z")

</div>

Hi I, made this with the purpose of connecting the users between each other, creating and joining to “games” but it’s very important to block the user from the possibility of creating two games with the same key or joining two games with the same key too.

Can you give me a tip? Do you know how can I prevent this from happening? I tried to be as clear as possible, I hope you understand! Looking foward to your responses! Thank you very much!

 ![11](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/3659ba746258ce8cc2cb86e2d432505e999fde46.png) ![22](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/957d5ed311425f73183fa9ac54b904b9a5af750b.png) ![33](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/3/73cff5e2aad608ffe1ec584f360977aa956aa380.png) ![44](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/7/5786c20b0aa174d6d3370fe983ac8a6d11b157b9.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 14, 2020, 10:32am UTC](https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728/2 "2020-07-14T10:32:01Z")

</div>

answered here:

> [@Creating a multiplayer online game room](http://community.thunkable.com/t/creating-a-multiplayer-online-game-room/470328/8):
>
> In my case I try to create a "random player button where the users could play with anyone who created a game without knowing each other… But I m doing something wrong, Can you take a look?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 14, 2020, 10:32am UTC](https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728/3 "2020-07-14T10:32:06Z")

</div>



---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 14, 2020, 10:32am UTC](https://community.thunkable.com/t/saving-and-geting-information-with-firebase/535728/4 "2020-07-14T10:32:11Z")

</div>


