Question Facebook plugin

Hi,

Quite a newbie question, in the docs, it says to put the syntax:

local facebook = require( “plugin.facebook.v4” )

My question is, in which archive should i put it? In main.lua?

Thanks!

Put in in any file where you’re going to call one of the facebook plugin functions.

This code:

local facebook = require( "plugin.facebook.v4" )

essentially says, “Give me a reference to the facebook plugin module, so I can do something with it.”

Thank you for your help!!!

Put in in any file where you’re going to call one of the facebook plugin functions.

This code:

local facebook = require( "plugin.facebook.v4" )

essentially says, “Give me a reference to the facebook plugin module, so I can do something with it.”

Thank you for your help!!!