图谱 API 版

Application Page Activities

读取

你无法在此端点执行该操作。

创建

你可以通过下列路径向 page_activities 连线发出 POST 请求:
发布到这个连线时,将会创建 an Application

参数

参数描述
advertiser_tracking_enabled
boolean

A person can choose to enable ad tracking on iOS 6+, and that choice is stored within the phone. You should fetch that and return it to Facebook so we know not to use the data for optimization. We will, however, use the data to report on a conversion. See here for an example of how Facebook fetches that variable. For devices running less than iOS 6, this query parameter can default to 1. Use 0 for disabled, 1 for enabled

application_tracking_enabled
boolean

A person can choose to enable ad tracking on an app level. Your SDK should allow an app developer to put an opt-out setting into their app. Use this field to specify the person's choice. Use 0 for disabled, 1 for enabled

custom_events
list<CustomEvent>

Custom events reported

_eventName
RegexParam

Event name, must match the regular expression /^[0-9a-zA-Z_][0-9a-zA-Z _-]{0,39}$/

必填
_eventName_md5
RegexParam

MD5 hash of the event name, must match the regular expression /^[A-Fa-f0-9]{32}$/

_valueToSum
float

Values to Sum

_logTime
int64

Time to Log

_implicitlyLogged
int64

Whether this is implicitly logged

_isTimedEvent
boolean

Whether this is a timed event

_session_id
string

_app_user_id
string

logging_source
enum {MESSENGER_BOT, DETECTION}

Specifies the event source

logging_target
enum {APP, APP_AND_PAGE, PAGE}
默认值:"APP"

whether the event is logged to app level or page level or both

page_id
int64

Specifies the Page ID associated with the messenger bot that logs the event

page_scoped_user_id
int64

Specifies the page scoped User ID associated with the messenger bot that logs the event

必填

返回类型

Struct {
success: bool,
}

错误代码

错误描述
100Invalid parameter
190Invalid OAuth 2.0 Access Token

更新

你无法在此端点执行该操作。

删除

你无法在此端点执行该操作。