I have this problem for several weeks now… I followed all the guides to setup my facebook developer settings and whenever i try to login i get this annoying response. Please somebody help me.
Code…
local function listener( event ) local myText = display.newText("listener", 250, 50, native.systemFont, 30) local myText2 = display.newText(event.type, 250, 150, native.systemFont, 30) local myText3 = display.newText(event.phase, 250, 250, native.systemFont, 30) end local appId = "\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*" if ( appId ) then facebook.login( appId, listener ) end
Response…
listener session loginCancelled
Build.settings…
-- For more details on this file and what you can do with it, look here: -- https://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { orientation = { default = "landscapeRight", --content = "landscapeRight", -- Un-comment to lock to this orientation on iOS ONLY supported = { "landscapeLeft", "landscapeRight", }, }, android = { -- The version code must be an integer � it cannot contain any decimal points. versionCode = "1", -- Increase heap size from 32MB to device max (this setting is for Android 3.0 and higher. -- Android 2.x devices will still run the app but they'll ignore this setting.) largeHeap = true, usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", --"android.permission.ACCESS\_FINE\_LOCATION", --"android.permission.ACCESS\_COURSE\_LOCATION", -- Find more permissions here: http://developer.android.com/reference/android/Manifest.permission.html }, usesFeatures = { --{ name = "android.hardware.camera", required = true }, --{ name = "android.hardware.location", required = false }, --{ name = "android.hardware.location.gps", required = false }, -- Find more features here: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#features-reference } }, iphone = { plist = { UIAppFonts = { "Harrowprint.ttf", }, UIStatusBarHidden = true, UIPrerenderedIcon = false, --CFBundleIconFiles = { }, --MinimumOSVersion = "5.1.0", }, }, }
Facebook Setup…

Android Build…

Device: Samsung Galaxy S2 (Android)
