1

Currently unity facebook sdk is not supported in desktop version. How can I implement facebook login in unity desktop application?

Illegal Argument
  • 10,090
  • 2
  • 44
  • 61
Liju Thomas
  • 33
  • 1
  • 11

1 Answers1

0

Your assumption is correct, you cannot directly login to Facebook from a desktop app.

However, you can use Application.OpenURL() to fire up a browser window and grab the access token once the user logins to Facebook and gives your app the required privileges.

Here's a handy tutorial detailing all the steps:
http://www.ifc0nfig.com/accessing-facebook-unity-game-2/

Mihai Dinculescu
  • 19,743
  • 8
  • 55
  • 70