facebook.init()


Type Function

Return value none

See also facebook.*


Overview

Must be callled before you try to use the plugin.

Syntax

facebook.init([params])

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

autoLogAppEvents optional

Boolean. Controls the auto logging of basic app events, such as activateApp and deactivateApp. In some cases, you want to only delay the collection of automatically logged events, such as to obtain User consent or fulfill legal obligations. Default is false.

advertiserIdCollection optional

Boolean. Controls the collection of advertiser_id. In some cases, you want to delay the collection of advertiser_id, such as to obtain User consent or fulfill legal obligations, instead of disabling it. Default is false.