facebook@0.4.7
This adaptor exports the following from common:
- alterState()
- dataPath()
- dataValue()
- each()
- field()
- fields()
- fn()
- fnIf()
- lastReferenceValue()
- merge()
- sourceValue()
Functions
postMessage
postMessage(params) ⇒ Operation
Post a message
Param | Type | Description |
---|---|---|
params | object | data to make the fetch |
Example
postMessage({
"recipient": {
"id": "your-psid"
},
"message": {
"text": "your-message"
}
})