Ghostees: Unity3D GUI and Facebook Integration

Ghostees: Unity3D GUI and Facebook Integration

Early Ghostees Character Create Sreenshot

What I’ve done is use the .NET Facebook API. I validate the Facebook user and look up their details in SimpleDB and put it all together in a class.  I serialize the class, RSA encrypt the bits salt and sign the data.  I send this as a cookie that gets picked up in the Facebook page and forwarded to Unity3D through JavaScript.

Unity3D takes this blob of data when establishing communication with the UDP server.  The server can then validate the signature, decrypt the data and viola.

Tags: , ,

4 Comments Leave yours

  1. Sweet. are you going to be sharing some source code. Let me know if so.

  2. I don’t know if you are looking for a Facebook solution, as it looks as if you’ve done a fair bit, but you should have a look at dimeRocker. Its a self publishing platform for unity developers which allows easy deployment to social networks, monetization , analytics , and scalable hosting. We have an example game using the platform up at apps.facebook.com/airtrafficcommander.

    We are running a beta test at the moment and if you’d like an account drop me an email.

  3. admin #

    Yes I think I will share some of the source code but I’m curious what exactly is everyone trying to solve? Integrating your app is pretty straight forward. Perhaps the security piece?

  4. It’s the dancing facebook API that bugs some folks. I’m planning to sit down and try an integration soon.

Leave a Reply