https://github.com/amuramoto/messenger-cli
A simple CLI for updating your Messenger Platform bot
https://github.com/amuramoto/messenger-cli
chatbots facebook messenger messenger-cli messenger-platform
Last synced: 4 months ago
JSON representation
A simple CLI for updating your Messenger Platform bot
- Host: GitHub
- URL: https://github.com/amuramoto/messenger-cli
- Owner: amuramoto
- License: mit
- Created: 2018-01-19T22:44:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T00:26:17.000Z (over 7 years ago)
- Last Synced: 2025-01-02T01:43:17.321Z (6 months ago)
- Topics: chatbots, facebook, messenger, messenger-cli, messenger-platform
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Messenger Platform CLI
[](https://nodesecurity.io/orgs/alex/projects/4aad36ab-fea7-4497-aaa8-44d8c89e74f9)
This is a CLI for executing common Messenger Platform actions that aren't usually called in application code. The following is supported:
- [__Messenger Profile__](https://developers.facebook.com/docs/messenger-platform/reference/messenger-profile-api): Get, set, and delete Messenger Profile properties.
- [__Messenger Code__](https://developers.facebook.com/docs/messenger-platform/discovery/messenger-codes): Generate static and parametric Messenger Codes.
- [__Built-in NLP__](https://developers.facebook.com/docs/messenger-platform/built-in-nlp): Set configuration options for built-in NLP. ## Usage```
Usage: messenger [options] [command]
A simple CLI for making common Messenger Platform calls.
Options:
-V, --version output the version number
-t, --token [token] Page access token. May also be set in MESSENGER_PAGE_TOKEN env var.
-h, --help output usage informationCommands:
profile [options] Set/get/delete Messenger Profile properties.
code [options] Generates static and parametric Messenger Codes.
nlp [options] Set config values for built-in NLP. Configs should be in the format config_name=value.
```
### `profile` options```
Usage: profile [options]
Set/get/delete Messenger Profile properties.
Options:
-s, --set Set Messenger Profile fields.
-d, --delete Delete Messenger Profile fields.
-g, --get Retrieve Messenger Profile fields.
-h, --help output usage information
```
### `code` options```
Usage: code [options]
Generates static and parametric Messenger Codes.
Options:
-s, --size Set the image size in pixels. Supported range: 100-2000. Defaults to 1000.
-d, --data Set the referral payload. Max 250 characters. Valid characters: a-z A-Z 0-9 +/=-.:_
-h, --help output usage information
```
### `nlp` options```
Usage: nlp [options]
Set config values for built-in NLP. Configs should be in the format config_name=value.
Options:
-s, --set Set Messenger Profile fields.
-h, --help output usage information
```