@Rob: Thanks!
I guess that the change to native login is the problem in this case. Just guess… I think I have something misconfigured…
This is my code:
[lua] login = function()
facebook.login(appId, listener, {“publish_actions”});
end
listener = function(event)
print( “event.name”, event.name ) --“fbconnect”
print( “event.type:”, event.type ) --type is either “session”, “request”, or “dialog”
print( "isError: " … tostring( event.isError ) )
print( "didComplete: " … tostring( event.didComplete ) )
--“session” events cover various login/logout events
--“request” events handle calls to various Graph API calls
--“dialog” events are standard popup boxes that can be displayed
if ( “session” == event.type ) then
--options are: “login”, “loginFailed”, “loginCancelled”, or “logout”
if ( “login” == event.phase ) then
local access_token = event.token
--code for tasks following a successful login
end
elseif ( “request” == event.type ) then
print(“facebook request”)
if ( not event.isError ) then
local response = json.decode( event.response )
--process response data here
end
elseif ( “dialog” == event.type ) then
print( “dialog”, event.response )
--handle dialog results here
end
end[/lua]
and this is printed out in the console:
Jan 20 10:33:40 PhatCat SMTH[804] <Warning>: event.name fbconnect
Jan 20 10:33:40 PhatCat SMTH[804] <Warning>: event.type: session
Jan 20 10:33:40 PhatCat SMTH[804] <Warning>: isError: true
Jan 20 10:33:40 PhatCat SMTH[804] <Warning>: didComplete: nil
Jan 20 10:34:20 PhatCat locationd[44] <Notice>: client ‘com.facebook.Facebook’ stopping significant location changes
Jan 20 10:34:29 PhatCat backboardd[26] <Warning>: Facebook[392]: Could not stat /private/var/mobile/Applications/2801B668-C8AC-4353-88D1-1D09D9C51F15/tmp/etilqs_ARB7w7v0XYP4Obp: No such file or directory
Jan 20 10:34:29 PhatCat backboardd[26] <Warning>: Facebook[392]: Could not stat /private/var/mobile/Applications/2801B668-C8AC-4353-88D1-1D09D9C51F15/tmp/etilqs_HdzXxizXhVW6QV6: No such file or directory
iOS version: 6.1.3
Any idea, anyone?