I have read and read and I can’t find anything to help me figure this out. I am hoping I am just missing something really stupid.
Using SSO on Android fails while it works fine on iOS. This is using the lastest build or going back to an old build prior to the update to Facebook SDK 3.1.1. So I tried build 1016 and old build 971.
I will just post all the information I have.
On the Facebook setup page I have:
Package name: com.moonrisegames.orbtrix (matches build window in corona)
Class name: com.ansca.corona.CoronaActivity
Key hash: 6hP1oQXrHfQfu/ltEEfwfzDsTA8=
Facebook Login: enabled
Deep Linking: disabled (though I have tried it on and off with no difference)
The key was made using a method posted on the forums and was just to get the ball rolling so I could get the correct hash from the failed login. However the login produces no error, gives no hash key in adb logcat and the facebook login just causes a white blank facebook window to open. Facebook.login listener is never called unless I use the android back button. This causes the listener to return loginCancelled.
Here is the code for my facebook login. As you can see I have tried to augment it to work around problems with SDK 3.1.1 but that is when I said wait, let me go back to an old build first and try to get basic SSO working.
function fbListener( event )
if ( "session" == event.type ) then
-- upon successful login, request list of friends
print (event.phase)
if ( "login" == event.phase ) then
fbLogged = true
facebook.request( "me", "GET" )
end
end
end
facebook.login( "405623372827795", fbListener, {"publish\_"} )
-- facebook.login( "405623372827795", fbListener)
Finally I plugged my facebook app ID into the sample code in the SDK. Fails in the same manner. A blank white facebook window.
I did just install the facebook apps today. Never had them installed on these devices before. Perhaps this is a bug with the facebook app? I am at the point of wild guessing.
Anyone reading this have suggestions or ideas? All help greatly appreciated. [import]uid: 56820 topic_id: 35375 reply_id: 335375[/import]
