- Home /
combining facebook with my game on both web player and standalone
hi everyone, i have recently managed to manipulate my game to connect with Facebook outside the Facebook Canvas, by using the javascript sdk.
What I now want to do is to make my game available for destkop usage as well with the facebook login, and I already found a proper way, but there is only one problem.
when I built the game for web player I placed the link to the .html file (the one hosting the unity web player) in the facebook app settings as the site url. now if i want to use the c# sdk, I need to change the link in the facebook app to be the localhost so that the facebook requests will redirect to the desktop computer. therefore I cannot deploy my game for both platforms (web and standalone) if i want to use the same facebook app (Which I definitely do).
Can someone think of any way to work around this problem? thanks allot