# Can i create a Stranger Chatting App?

**URL:** <https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002>\
**Category:** Questions about Thunkable X\
**Tags:** app\
**Created:** [June 26, 2020, 8:25am UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002 "2020-06-26T08:25:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avaydevil44uo5](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@avaydevil44uo5](https://community.thunkable.com/u/avaydevil44uo5)\
**Post date:** [June 26, 2020, 8:25am UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002/1 "2020-06-26T08:25:12Z")

</div>

how can i create a stranger chatting app i know that we can create a chatting app but how to connect to users who click on a button which will connect those users thank you.

---

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [June 26, 2020, 9:15am UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002/2 "2020-06-26T09:15:11Z")

</div>

hi @avaydevil44uo5,  
the action of clicking on a button to chat with the selected user is the first step of a client-server connection. The chat app firstly download from the server which user are connected and who is not and shows you the relative buttons (i’m depicting it very simple). Send a message to someone means to push it to the db inside the server. If the user is online, the message will be delivered or will be stored into db and delivered as soon the user will be online.  
So in a very schematic view, your app should notify the server you are online and available, then must retrieves pending messages (while you were offline) then wait for incoming messages pushed by the server or polled by itself. In the meanwhile the app will poll for online users. In every moment you can push a message to an online/offline user sending it to the server.  
Hope it will help you  
rob

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [May 27, 2021, 3:17pm UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002/3 "2021-05-27T15:17:13Z")

</div>

I think the offline state is very consuming to browse. If it is accurate, it is difficult. We don’t have a server as big as Facebook.

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [May 27, 2021, 7:00pm UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002/4 "2021-05-27T19:00:48Z")

</div>

It’s best not to respond to old topics.

---

<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:25am UTC](https://community.thunkable.com/t/can-i-create-a-stranger-chatting-app/638002/5 "2024-11-08T11:25:27Z")

</div>


