I’m at the design stage of a new mobile iOS project and looking to implement Facebook login and Photon Networking.
I would require the user to login in with Facebook, then from their friends list, select a player to compete against (if they haven’t got the game, ask them to download it), then connect them together with Photon Networking in a 2 player scenario.
I’ve been looking around online for some pointers but have drawn a blank so thought i’d ask here. Maybe someone has already achieved this? Or could give me some guidance…
uff… @DaVeF101 that integrations is a nightmare… I did that before… totally nightmare, I dont recommend to do because the notifications do not work very well as google play game service…
You need to do the integration separately, I mean you create the room with name then you send the notifications to your friend via facebook (facebook It required an APP ID in developers.facebook.com, this facebook app ID requires some permissions from facebook, these permissions facebook gives you after you complete forms for “extra permissions” (It may take 30 to 45 days unless you have an appid before 2013 to reuse))
In the Client(your friend side) get that notification/invitation(that send a json info to you game) where you open the app/game then join the room with PhotonNetwork.JoinRoom + json info from facebook
PS: my english is not very good, PM if you want to know more…