圖形 API 版本

Application Page Activities

閱讀中

你無法在此端點執行此操作。

建立中

You can make a POST request to page_activities edge from the following paths:
發佈到此關係連線時,會建立 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,
}

Error Codes

錯誤說明
100Invalid parameter
190Invalid OAuth 2.0 Access Token

更新中

你無法在此端點執行此操作。

刪除中

你無法在此端點執行此操作。