1

When I run test projects on Android device, I see strange thing: Build on Win7 doesn't work (login return aborted:"true"), but exactly the same project, what builded on MacOS works perfect. I guess problem in key hashes generation (but in Facebook App Settings both of it (Win, MacOS) added).

Steven
  • 166,672
  • 24
  • 332
  • 435
KonH
  • 9
  • 2
  • Can you provide the code that you use for facebook login? Do you use a Unity plugin to achievet his, or written everything yourself? – Max Yankov Oct 28 '13 at 12:45
  • Can you show the code, then it will be easy for us to help you – Akhilesh Sk Oct 28 '13 at 13:36
  • 1
    Take a look at this: http://stackoverflow.com/questions/19051361/facebook-unity-sdk-on-android-login-fails-when-fb-app-installed Certain versions of openssl can give back the wrong key hash. It seems like you may be running up against the same problem. – benp Oct 28 '13 at 18:26

1 Answers1

2

Yes, your problem is probably related to keyhash configuration.

To make sure, you can set your logcat to filter messages with log tag "fb4a" and you will see underlying Facebook Android SDK throwing exception saying your keyhash doesn't match any stored keyhashes.

You can just copy that keyhash and add it to Facebook developer dashboard.

juraj
  • 439
  • 2
  • 9