I have this…
local function onComplete( event ) print("Enter in this function") end local function fblistener( event ) if ( "session" == event.type ) then if ( "login" == event.phase ) then facebook.publishInstall( appId ) facebook.showDialog( "apprequests", { title=guiTexts[22],message=guiTexts[23] }, onComplete ) end elseif ( "request" == event.type ) then end end
In the simulator the dialog is show with friends, but when I sent it, i dont see any trace on the onComplete function…
In the terminal I see…
Jun 19 12:22:08 Noah.local NameApp[68785] <Warning>: FBSDKLog: The FacebookSDKResources.bundle is no longer required for your application. It can be removed. After fixing this, you will need to Clean the project and then reset your simulator.
Jun 19 12:22:08 Noah.local backboardd[57151] <Warning>: Could not create or rename power assertion for NameApp[68785]: 0xe00002c9
Jun 19 12:22:37 — last message repeated 5 times —
How can I know when apprequests are sent?
My facebook app is not in development mode. Is published . The request are sent.