I'm creating a small game using Construct 2 and would like people to be able to interact with Facebook via my server using PHP. Basically what you would have to do is to write a couple of PHP documents which I can send information to via my game to allow users to:
- Log on to Facebook
- Share the application with their friends via Facebook
- Retrieve a string containing the e-mails of all their Facebook friends