# How to make social game (for example: on Facebook)

**URL:** <https://forum.kirupa.com/t/how-to-make-social-game-for-example-on-facebook/328511>\
**Category:** programming\
**Created:** [May 22, 2012, 1:18pm UTC](https://forum.kirupa.com/t/how-to-make-social-game-for-example-on-facebook/328511 "2012-05-22T13:18:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chipchipknight](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@chipchipknight](https://forum.kirupa.com/u/chipchipknight)\
**Post date:** [May 22, 2012, 1:18pm UTC](https://forum.kirupa.com/t/how-to-make-social-game-for-example-on-facebook/328511/1 "2012-05-22T13:18:33Z")

</div>

I want to make a social game by Flash to embed in several social networks.  
This is my main flow:  
#1. Log in, and go to lobby  
#2. Join room & start game  
#3. Play with other players in room  
I don’t know how to achieve that because there’re a lot of solutions which make me so confused:  
A. Use one of PUSH technologies (COMET, Server-Sent Events, WebSocket).  
B. Use a server to deliver messages between clients.  
B1. Rent or buy a server to run server side application, like Union, SmartFox.  
B2. Use platform, like PlayerIO.  
But how to control this server by PHP? I’m a newbie, so any help will be appreciated!
