Unity Facebook SDK: Stay logged in

613 views Asked by At

I do have a question: I am trying to connect my Unity game with Facebook, which works fine. I am able to get the user's profile picture after he/she clicks on "connect with Facebook". However, if I restart the Scene in the editor I have to reconnect to Facebook again in order to retrieve the profile picture.

How is it possible to keep a user connected to Facebook and get e.g. the profile picture once the scene Starts (in Start())?

Games like Candy crush saga can do it automatically but I just can't figure out how.

Thanks a lot!

0

There are 0 answers