Using Unity 4.3 and Facebook SDK 5.0.3 / 5.0.4 beta I seem to be unable to log in to Facebook on Android using FB.Login("publish_actions", LoginCallback). My game shows the "Game would like to post to your friends on your behalf"-message. After tapping OK, I get an ajax-spinner for about 2-3 seconds after which I'm brought back to my game without being able to post a FB.Feed.
The message I'm getting is:
V/FBUnitySDK( 8892): sending to Unity OnLoginComplete({"cancelled":true,"key_hash":"XXXXXXXXXXXXXXXXXXX"})
As soon as I remove the Facebook app, everything seems to work fine and I'm getting a popup that asks for my publish_actions permissions.
I also looked into the key hash problem and was able to find the correct key_hash by getting FB.Android.KeyHash.
Is there a way around this?