I am new in unity3d and i am trying to create an app with social connect for unity3d desktop app.I read some tutorial like unity-and-facebook. My problem is how to get an access token of user.I follow same steps as i read getting-started on facebook. When facebook-unity package import to my new package and change app id from facebook setting.I am getting a default access token and dummy user logedin.
Here’s my conclusion after dealing with desktop facebook authentication. Implementing the facebook login and receiving the OAuth tokens inside a unity desktop app can lead to a very fragile and error prone solution. Instead you can use simple and elegant server side approach. You can handle the facebook authorization token exchange on your backend. After that you can authorize the desktop app user by asking the authorization result from your web server.