@openfn/language-facebook
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "@openfn/language-facebook", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "An Language Package for Facebook Messenger API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
# Language Facebook | ||
Language Pack for building expressions and operations to interact with the Facebook Messenger API. | ||
Language Pack for building expressions and operations to interact with the | ||
Facebook Messenger API. | ||
## Documentation | ||
## sample configuration | ||
### Configuration | ||
```json | ||
{ | ||
"accessToken": "yOuR-aCcEsS-tOkEn" | ||
} | ||
``` | ||
View all the required and optional properties for `state.configuration` in the | ||
official | ||
[configuration-schema](https://docs.openfn.org/adaptors/packages/facebook-configuration-schema/) | ||
definition. | ||
## postMessage | ||
### postMessage | ||
@@ -22,6 +22,6 @@ #### sample expression using operation | ||
recipient: { | ||
id: "<PSID>", | ||
id: '<PSID>', | ||
}, | ||
message: { | ||
text: "<YOUR MESSAGE GOES HERE>", | ||
text: '<YOUR MESSAGE GOES HERE>', | ||
}, | ||
@@ -33,3 +33,4 @@ }); | ||
Clone the [adaptors monorepo](https://github.com/OpenFn/adaptors). Follow the `Getting Started` guide inside to get set up. | ||
Clone the [adaptors monorepo](https://github.com/OpenFn/adaptors). Follow the | ||
`Getting Started` guide inside to get set up. | ||
@@ -36,0 +37,0 @@ Run tests using `pnpm run test` or `pnpm run test:watch` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
65516
40
1