I’ve been having some issues getting the sample facebook app (/Networking/Facebook) working on a physical android device
I’ve followed all the guides and updated the build.settings and main.lua to include the appID. I generated the key hashes and filled in all the appropriate information on the facebook developer site.
Looks like most people struggled with the key hash generation. I’ve read that the error should popup via logcat in adb. but I don’t see any message come up.
I/ActivityManager( 145): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=jaman.facebooktest/com.ansca.corona.CoronaActivity} from pid 378 I/ActivityManager( 145): Displayed jaman.facebooktest/com.ansca.corona.CoronaActivity: +99ms V/Corona (32289): \< Class.forName: network.LuaLoader V/Corona (32289): Loading via reflection: network.LuaLoader W/InputManagerService( 145): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41203db8 (uid=10035 pid=378) D/
I also tried to write a small app with a few lines:
local function fbListener( event ) print("facebook listener triggered") end facebook.login( fbAppID, fbListener, { "publish\_stream" } )
I don’t see any print statements in the log file indicating the listener was called
I’m using build 1076. When the sample app loads there is no prompt for login. The screen just shows a big block at the bottom of the page saying not logged in. none of the buttons do anything when clicked.
Any pointers?