Can anyone else get the facebook sample to work in Corona Viewer? I’m sure I’ve setup an “in development” application in facebook’s developer site, but the line local facebook = require(“facebook”) causes the sample app to freeze. My own code also freezes. I thought testing on the sample app would be a good proof of concept but it too fails.
Do you see an error in the console?
My guess is that Lua complains it can’t find Facebook. That’s b/c FB is a plugin, so you have to rebuild CoronaViewer with the plugin. You’ll need to modify build.settings in CoronaViewer project (not the project in your Dropbox folder) so that it includes FB (see http://docs.coronalabs.com/api/library/facebook/index.html for details on how to modify your build.settings)
Oh right, I hadn’t thought that the viewer would need the FB plugin! I’ll give that a shot - thanks!
Well, still not having joy with that. Maybe some oddities in my setup…
Do you see an error in the console?
My guess is that Lua complains it can’t find Facebook. That’s b/c FB is a plugin, so you have to rebuild CoronaViewer with the plugin. You’ll need to modify build.settings in CoronaViewer project (not the project in your Dropbox folder) so that it includes FB (see http://docs.coronalabs.com/api/library/facebook/index.html for details on how to modify your build.settings)
Oh right, I hadn’t thought that the viewer would need the FB plugin! I’ll give that a shot - thanks!
Well, still not having joy with that. Maybe some oddities in my setup…