module 'facebook' not found:resource (facebook.lu) does not exist in archive

HI,

I been trying to integrate Facebook sharing into my app I am working on, and I entered in the plugin code in build.setting. I also put in the native Facebook activation code in there as well. When I get to the game over screen is when I require the plugin:

local facebook = require( “facebook” )

But I get an error when this is called on my iPhone:

module ‘facebook’ not found:resource (facebook.lu) does not exist in archive

and a bunch of other paths along with it and stuff. 

Do I have to buy corona to get this plugin? since this forum says premium plugins? 

If I remove the require I get a Facebook is nil value error. 

Let me know if you need me to show code or anything. 

Thank you

You need to include the facebook plugin in your build.settings file.

See: https://docs.coronalabs.com/plugin/facebook/index.html

Rob

Thanks Rob, I figured it out. I was putting in two separate settings tables for plug in and native Facebook call. I didn’t know it needed to me one settings and the others were sub tables. 

Thanks

You need to include the facebook plugin in your build.settings file.

See: https://docs.coronalabs.com/plugin/facebook/index.html

Rob

Thanks Rob, I figured it out. I was putting in two separate settings tables for plug in and native Facebook call. I didn’t know it needed to me one settings and the others were sub tables. 

Thanks