Saltar al contenido principal
Esta página no tiene versión en español, así que te la mostramos en inglés.

facebook@0.5.3

postMessage(params)

This adaptor exports the following from common:

alterState
combine()
dataPath()
dataValue()
each()
field()
fields()
fn()
fnIf()
lastReferenceValue()
log()
merge()
sourceValue()

Functions​

postMessage​

postMessage(params) ⇒ Operation

Post a message

ParamTypeDescription
paramsobjectdata to make the fetch

Example

postMessage({
"recipient": {
"id": "your-psid"
},
"message": {
"text": "your-message"
}
})